mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-23 23:11:13 -04:00
made shure that all databse patches have the db-patch warning (#3624)
This commit is contained in:
parent
faf8b5e7ce
commit
7711679e1a
11 changed files with 28 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
CREATE TABLE [api_key] (
|
||||
[id] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
[key] VARCHAR(255) NOT NULL,
|
||||
|
@ -10,4 +11,5 @@ CREATE TABLE [api_key] (
|
|||
[expires] DATETIME DEFAULT NULL,
|
||||
CONSTRAINT FK_user FOREIGN KEY ([user_id]) REFERENCES [user]([id]) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue