diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-05-06 17:22:13 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-05-06 17:22:13 +0200 |
commit | f36bb35cf296c74ff5a3676c038e2ef2a8be9068 (patch) | |
tree | e33ef2d5aa0d8477374411b029795f79f4e72823 /module/database | |
parent | little documentation update (diff) | |
download | pyload-f36bb35cf296c74ff5a3676c038e2ef2a8be9068.tar.xz |
concept for multiuser api
Diffstat (limited to 'module/database')
-rw-r--r-- | module/database/DatabaseBackend.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/database/DatabaseBackend.py b/module/database/DatabaseBackend.py index 97ecec3ab..18898a93c 100644 --- a/module/database/DatabaseBackend.py +++ b/module/database/DatabaseBackend.py @@ -327,6 +327,7 @@ class DatabaseBackend(Thread): '"password" TEXT NOT NULL, ' '"role" INTEGER DEFAULT 0 NOT NULL, ' '"permission" INTEGER DEFAULT 0 NOT NULL, ' + '"folder" TEXT DEFAULT "" NOT NULL, ' '"template" TEXT DEFAULT "default" NOT NULL' ')' ) @@ -338,6 +339,8 @@ class DatabaseBackend(Thread): '"activated" INTEGER DEFAULT 1, ' '"password" TEXT DEFAULT "", ' '"options" TEXT DEFAULT "", ' +# '"user" TEXT NOT NULL, ' +# 'FOREIGN KEY(user) REFERENCES users(name)' 'PRIMARY KEY (plugin, loginname) ON CONFLICT REPLACE' ')' ) |