Skip to content

Commit ff9b856

Browse files
committed
use boolean for done
1 parent 69fb973 commit ff9b856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ CREATE TABLE IF NOT EXISTS `users` (
77
CREATE TABLE IF NOT EXISTS `tasks` (
88
`id` INTEGER(4) NOT NULL PRIMARY KEY AUTO_INCREMENT,
99
`title` VARCHAR(255) NOT NULL,
10-
`done` INTEGER(1) NOT NULL DEFAULT 0
10+
`done` TINYINT(1) NOT NULL DEFAULT 0
1111
);

0 commit comments

Comments
 (0)