You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
344 B
12 lines
344 B
2 years ago
|
CREATE TABLE organization_api_key (
|
||
|
uuid TEXT NOT NULL,
|
||
|
org_uuid TEXT NOT NULL,
|
||
|
atype INTEGER NOT NULL,
|
||
|
api_key TEXT NOT NULL,
|
||
|
revision_date DATETIME NOT NULL,
|
||
|
PRIMARY KEY(uuid, org_uuid),
|
||
|
FOREIGN KEY(org_uuid) REFERENCES organizations(uuid)
|
||
|
);
|
||
2 years ago
|
|
||
|
ALTER TABLE users ADD COLUMN external_id TEXT;
|