fff
This commit is contained in:
parent
89f5d5524f
commit
7b3555eaa7
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class Wiki extends Extension
|
|||
$database->execute("UPDATE wiki_pages SET locked=0 WHERE locked=2;");
|
||||
}
|
||||
if ($d == DatabaseDriver::SQLITE) {
|
||||
$database->execute("ALTER TABLE wiki_pages SET locked = (locked IN ('Y', 1))");
|
||||
$database->execute("UPDATE wiki_pages SET locked = (locked IN ('Y', 1))");
|
||||
}
|
||||
if ($d == DatabaseDriver::PGSQL) {
|
||||
$database->execute("ALTER TABLE wiki_pages ADD COLUMN locked_b BOOLEAN DEFAULT FALSE NOT NULL");
|
||||
|
|
Reference in a new issue