forked from fstelte/Business-Impact-Assessment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_values.sql
34 lines (34 loc) · 2.05 KB
/
default_values.sql
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
26
27
28
29
30
31
32
33
34
BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS "consequence_choices" (
"id" INTEGER NOT NULL,
"choice" VARCHAR,
PRIMARY KEY("id")
);
CREATE TABLE IF NOT EXISTS "references" (
"id" INTEGER NOT NULL,
"consequence_category" VARCHAR,
"consequence_small" VARCHAR,
"consequence_medium" VARCHAR,
"consequence_large" VARCHAR,
"consequence_huge" VARCHAR,
PRIMARY KEY("id")
);
CREATE TABLE IF NOT EXISTS "security_properties" (
"id" INTEGER NOT NULL,
"choice" VARCHAR,
PRIMARY KEY("id")
);
INSERT INTO "consequence_choices" ("id","choice") VALUES (1,'Low');
INSERT INTO "consequence_choices" ("id","choice") VALUES (2,'Medium');
INSERT INTO "consequence_choices" ("id","choice") VALUES (3,'High');
INSERT INTO "consequence_choices" ("id","choice") VALUES (4,'Huge');
INSERT INTO "references" ("id","consequence_category","consequence_small","consequence_medium","consequence_large","consequence_huge") VALUES (1,'Financial',NULL,NULL,NULL,NULL);
INSERT INTO "references" ("id","consequence_category","consequence_small","consequence_medium","consequence_large","consequence_huge") VALUES (2,'Operational',NULL,NULL,NULL,NULL);
INSERT INTO "references" ("id","consequence_category","consequence_small","consequence_medium","consequence_large","consequence_huge") VALUES (3,'Regulatory',NULL,NULL,NULL,NULL);
INSERT INTO "references" ("id","consequence_category","consequence_small","consequence_medium","consequence_large","consequence_huge") VALUES (4,'Reputation and Trust',NULL,NULL,NULL,NULL);
INSERT INTO "references" ("id","consequence_category","consequence_small","consequence_medium","consequence_large","consequence_huge") VALUES (5,'Human and Safety',NULL,NULL,NULL,NULL);
INSERT INTO "references" ("id","consequence_category","consequence_small","consequence_medium","consequence_large","consequence_huge") VALUES (6,'Privacy',NULL,NULL,NULL,NULL);
INSERT INTO "security_properties" ("id","choice") VALUES (1,'Confidentiallity');
INSERT INTO "security_properties" ("id","choice") VALUES (2,'Integrity');
INSERT INTO "security_properties" ("id","choice") VALUES (3,'Availability');
COMMIT;