Commit 1beca96a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Folder: blacklist: Explicitely use a boolean

parent 3f554023
...@@ -71,7 +71,7 @@ bool Folder::createTable(DBConnection connection) ...@@ -71,7 +71,7 @@ bool Folder::createTable(DBConnection connection)
"id_folder INTEGER PRIMARY KEY AUTOINCREMENT," "id_folder INTEGER PRIMARY KEY AUTOINCREMENT,"
"path TEXT," "path TEXT,"
"parent_id UNSIGNED INTEGER," "parent_id UNSIGNED INTEGER,"
"is_blacklisted INTEGER NOT NULL DEFAULT 0," "is_blacklisted BOOLEAN NOT NULL DEFAULT 0,"
"device_id UNSIGNED INTEGER," "device_id UNSIGNED INTEGER,"
"is_present BOOLEAN NOT NULL DEFAULT 1," "is_present BOOLEAN NOT NULL DEFAULT 1,"
"is_removable BOOLEAN NOT NULL," "is_removable BOOLEAN NOT NULL,"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment