boolinate locked

This commit is contained in:
Shish
2020-10-27 01:05:12 +00:00
parent ee7a4f178c
commit 10f563ee37
3 changed files with 8 additions and 12 deletions

View File

@@ -32,9 +32,9 @@ class Upgrade extends Extension
// now done again as v9 with PDO
if ($this->get_version("db_version") < 8) {
$database->execute($database->scoreql_to_sql(
"ALTER TABLE images ADD COLUMN locked SCORE_BOOL NOT NULL DEFAULT SCORE_BOOL_N"
));
$database->execute(
"ALTER TABLE images ADD COLUMN locked BOOLEAN NOT NULL DEFAULT FALSE"
);
$this->set_version("db_version", 8);
}