13 lines
440 B
MySQL
13 lines
440 B
MySQL
|
CREATE TABLE "Settings" (
|
|||
|
"Id" INTEGER NOT NULL,
|
|||
|
"Code" TEXT NOT NULL UNIQUE,
|
|||
|
"Name" TEXT NOT NULL,
|
|||
|
"Description" TEXT,
|
|||
|
"Context" TEXT NOT NULL
|
|||
|
CONSTRAINT "PK_Settings" PRIMARY KEY("Id" AUTOINCREMENT)
|
|||
|
);
|
|||
|
|
|||
|
INSERT INTO Settings(Id, Code, Name, Context)
|
|||
|
SELECT 1, 'THEME', 'Application theme', 'USER' UNION
|
|||
|
SELECT 2, 'LANGUAGE', 'Application language', 'USER' UNION
|
|||
|
SELECT 3, 'NOTIFICATIONS_POSITION', 'Notifications position', 'USER'
|