Skip to content

Commit 87c0e45

Browse files
committed
change default charset to utf8mb4
closes #8
1 parent 6de9bd3 commit 87c0e45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/schema.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ CREATE TABLE IF NOT EXISTS `users` (
22
`id` INTEGER(4) NOT NULL PRIMARY KEY AUTO_INCREMENT,
33
`username` VARCHAR(255) NOT NULL,
44
`password` VARCHAR(255) NOT NULL
5-
);
5+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
66

77
CREATE TABLE IF NOT EXISTS `tasks` (
88
`id` INTEGER(4) NOT NULL PRIMARY KEY AUTO_INCREMENT,
99
`title` VARCHAR(255) NOT NULL,
1010
`done` TINYINT(1) NOT NULL DEFAULT 0
11-
);
11+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

0 commit comments

Comments
 (0)