Add Database structure

This commit is contained in:
root committed 2026-10-05 10:52:31 +02:00
1 parent f5f42b73ee
commit 3ad5f5bdd6
4 files changed
+19 -4

No files matched your search

+15
View File
@@ -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")
);