Skip to content

Commit

Permalink
Added oidc_user to inital db setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Bischoff committed Jan 17, 2023
1 parent f0b61eb commit 9fccf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyload/core/threads/database_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _create_tables(self):
'CREATE TABLE IF NOT EXISTS "storage" ("id" INTEGER PRIMARY KEY AUTOINCREMENT, "identifier" TEXT NOT NULL, "key" TEXT NOT NULL, "value" TEXT DEFAULT "")'
)
self.c.execute(
'CREATE TABLE IF NOT EXISTS "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" TEXT NOT NULL, "email" TEXT DEFAULT "" NOT NULL, "password" TEXT NOT NULL, "role" INTEGER DEFAULT 0 NOT NULL, "permission" INTEGER DEFAULT 0 NOT NULL, "template" TEXT DEFAULT "default" NOT NULL)'
'CREATE TABLE IF NOT EXISTS "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" TEXT NOT NULL, "email" TEXT DEFAULT "" NOT NULL, "password" TEXT NOT NULL, "role" INTEGER DEFAULT 0 NOT NULL, "permission" INTEGER DEFAULT 0 NOT NULL, "template" TEXT DEFAULT "default" NOT NULL, "oidc_user" TEXT DEFAULT NULL)'
)

self.c.execute(
Expand Down

0 comments on commit 9fccf03

Please sign in to comment.