Groups can now be ordered (via drag and drop)
This commit is contained in:
parent
16c484c2d1
commit
975d1ceee2
14 changed files with 461 additions and 54 deletions
|
|
@ -28,6 +28,7 @@ CREATE TABLE [User] (
|
|||
[is_admin] INTEGER NOT NULL DEFAULT FALSE
|
||||
) STRICT;
|
||||
|
||||
CREATE INDEX [validation_token_index] ON [User]([validation_token]);
|
||||
CREATE UNIQUE INDEX [User_email_index] ON [User]([email]);
|
||||
|
||||
CREATE TABLE [UserLoginToken] (
|
||||
|
|
@ -58,6 +59,7 @@ CREATE TABLE [Recipe] (
|
|||
[difficulty] INTEGER NOT NULL DEFAULT 0,
|
||||
[servings] INTEGER DEFAULT 4,
|
||||
[is_published] INTEGER NOT NULL DEFAULT FALSE,
|
||||
[creation_datetime] TEXT NOT NULL,
|
||||
|
||||
FOREIGN KEY([user_id]) REFERENCES [User]([id]) ON DELETE SET NULL
|
||||
) STRICT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue