Add Database structure
This commit is contained in:
1 parent
f5f42b73ee
commit
3ad5f5bdd6
4 files changed
+19
-4
No files matched your search
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE IF NOT EXISTS "users" (
|
||||
"id" INTEGER NOT NULL,
|
||||
"username" VARCHAR NOT NULL,
|
||||
"password" VARCHAR NOT NULL,
|
||||
"owner" INTEGER NOT NULL,
|
||||
PRIMARY KEY("id", "username", "owner")
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "entrys" (
|
||||
"id" INTEGER NOT NULL,
|
||||
"name" VARCHAR NOT NULL,
|
||||
"text" VARCHAR NOT NULL,
|
||||
"status" INTEGER,
|
||||
PRIMARY KEY("id")
|
||||
);
|
||||
Reference in new issue
Block a user