Avec un cafe.
This commit is contained in:
1 parent
d78b4f1d90
commit
352bb498d4
7 files changed
+86
-50
No files matched your search
@@ -25,19 +25,6 @@ CREATE TABLE IF NOT EXISTS securities
|
||||
FOREIGN KEY (security_type) REFERENCES security_types (name)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS security_permissions
|
||||
(
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
security_id INTEGER NOT NULL,
|
||||
user_id INTEGER NOT NULL,
|
||||
creation_time DATETIME DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
FOREIGN KEY (security_id) REFERENCES securities (id),
|
||||
FOREIGN KEY (user_id) REFERENCES users (id)
|
||||
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS account_types
|
||||
(
|
||||
name TEXT PRIMARY KEY
|
||||
|
||||
Reference in new issue
Block a user