-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcreate.sql
executable file
·29 lines (27 loc) · 1.26 KB
/
create.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
DROP TABLE IF EXISTS "serviceAccounts";
CREATE TABLE "serviceAccounts" (
'serviceAccountId' TEXT NOT NULL DEFAULT '',
'lastAuthenticatedTime' TEXT NOT NULL DEFAULT '',
'projectId' TEXT NOT NULL DEFAULT '',
PRIMARY KEY("serviceAccountId", "lastAuthenticatedTime")
);
DROP TABLE IF EXISTS "serviceAccountKeyAuthentications";
CREATE TABLE "serviceAccountKeyAuthentications" (
'serviceAccountId' TEXT NOT NULL DEFAULT '',
'serviceAccountKey' TEXT NOT NULL DEFAULT '',
'lastAuthenticatedTime' TEXT NOT NULL DEFAULT '',
'projectId' TEXT NOT NULL DEFAULT '',
PRIMARY KEY("serviceAccountKey", "lastAuthenticatedTime")
);
DROP TABLE IF EXISTS "serviceAccountKeys";
CREATE TABLE "serviceAccountKeys" (
'serviceAccountId' TEXT NOT NULL DEFAULT '',
'serviceAccountKey' TEXT NOT NULL DEFAULT '',
'keyCreated' TEXT NOT NULL DEFAULT '',
'keyExpires' TEXT NOT NULL DEFAULT '',
'keyAlgorithm' TEXT NOT NULL DEFAULT '',
'keyOrigin' TEXT NOT NULL DEFAULT '',
'keyType' TEXT NOT NULL DEFAULT '',
'projectId' TEXT NOT NULL DEFAULT '',
PRIMARY KEY("serviceAccountKey")
);