use false instead of 0

This commit is contained in:
osaajani 2019-11-07 19:27:30 +01:00
parent c3c5a2837b
commit c53a7d8d7d
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ CREATE TABLE IF NOT EXISTS transfer
(
id INT NOT NULL AUTO_INCREMENT,
id_received INT NOT NULL,
progress BOOLEAN NOT NULL DEFAULT 0,
progress BOOLEAN NOT NULL DEFAULT FALSE,
PRIMARY KEY (id),
FOREIGN KEY (id_received) REFERENCES received (id) ON DELETE CASCADE ON UPDATE CASCADE
);