Add web site settings
This commit is contained in:
parent
65489e7692
commit
f1ea7841a2
8 changed files with 74 additions and 19 deletions
|
|
@ -159,3 +159,11 @@ CREATE TABLE [Ingredient] (
|
|||
) STRICT;
|
||||
|
||||
CREATE INDEX [Ingredient_order_index] ON [Ingredient]([order]);
|
||||
|
||||
-- Table not strict because [value] can story any type of data.
|
||||
CREATE TABLE [Settings] (
|
||||
[name] TEXT NOT NULL PRIMARY KEY,
|
||||
[value] TEXT NOT NULL
|
||||
);
|
||||
|
||||
INSERT INTO [Settings] ([name], [value]) VALUES ('new_user_registration_enabled', TRUE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue