-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathheadsup.sql
More file actions
25 lines (21 loc) · 634 Bytes
/
headsup.sql
File metadata and controls
25 lines (21 loc) · 634 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
CREATE DATABASE IF NOT EXISTS headsup CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
USE headsup;
CREATE TABLE notes (
id int NOT NULL AUTO_INCREMENT,
note text NOT NULL,
PRIMARY KEY(id)
) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE TABLE dispatch_mishaps (
id int NOT NULL AUTO_INCREMENT,
date date NOT NULL,
mishap text NOT NULL,
PRIMARY KEY(id)
) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
CREATE TABLE calls (
prid int NOT NULL,
cc varchar(255) NOT NULL,
driver varchar(255) NOT NULL,
category varchar(255) NOT NULL,
response_code char(3) NOT NULL,
PRIMARY KEY (prid)
);