diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-25 14:20:18 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-25 14:20:18 +0200 |
commit | 33fe6a46a42ca1c13f2585b42d9da54aa2e45899 (patch) | |
tree | 0b4fed0d8d9f113e13b704ad27e87b96856e65d5 | |
parent | 6ae804853f6f2e10d394b6abfb977b7a251ee7e4 (diff) | |
download | wallabag-33fe6a46a42ca1c13f2585b42d9da54aa2e45899.tar.gz wallabag-33fe6a46a42ca1c13f2585b42d9da54aa2e45899.tar.zst wallabag-33fe6a46a42ca1c13f2585b42d9da54aa2e45899.zip |
bug fix #278: mysql collation not UTF8
-rw-r--r-- | install/mysql.sql | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install/mysql.sql b/install/mysql.sql index cb232a84..9b01e32c 100644 --- a/install/mysql.sql +++ b/install/mysql.sql | |||
@@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS `config` ( | |||
3 | `name` varchar(255) NOT NULL, | 3 | `name` varchar(255) NOT NULL, |
4 | `value` varchar(255) NOT NULL, | 4 | `value` varchar(255) NOT NULL, |
5 | PRIMARY KEY (`id`) | 5 | PRIMARY KEY (`id`) |
6 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | 6 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
7 | 7 | ||
8 | CREATE TABLE IF NOT EXISTS `entries` ( | 8 | CREATE TABLE IF NOT EXISTS `entries` ( |
9 | `id` int(11) NOT NULL AUTO_INCREMENT, | 9 | `id` int(11) NOT NULL AUTO_INCREMENT, |
@@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS `entries` ( | |||
14 | `content` blob NOT NULL, | 14 | `content` blob NOT NULL, |
15 | `user_id` int(11) NOT NULL, | 15 | `user_id` int(11) NOT NULL, |
16 | PRIMARY KEY (`id`) | 16 | PRIMARY KEY (`id`) |
17 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | 17 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
18 | 18 | ||
19 | CREATE TABLE IF NOT EXISTS `users` ( | 19 | CREATE TABLE IF NOT EXISTS `users` ( |
20 | `id` int(11) NOT NULL AUTO_INCREMENT, | 20 | `id` int(11) NOT NULL AUTO_INCREMENT, |
@@ -23,7 +23,7 @@ CREATE TABLE IF NOT EXISTS `users` ( | |||
23 | `name` int(255) NOT NULL, | 23 | `name` int(255) NOT NULL, |
24 | `email` varchar(255) NOT NULL, | 24 | `email` varchar(255) NOT NULL, |
25 | PRIMARY KEY (`id`) | 25 | PRIMARY KEY (`id`) |
26 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | 26 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
27 | 27 | ||
28 | CREATE TABLE IF NOT EXISTS `users_config` ( | 28 | CREATE TABLE IF NOT EXISTS `users_config` ( |
29 | `id` int(11) NOT NULL AUTO_INCREMENT, | 29 | `id` int(11) NOT NULL AUTO_INCREMENT, |
@@ -31,4 +31,4 @@ CREATE TABLE IF NOT EXISTS `users_config` ( | |||
31 | `name` varchar(255) NOT NULL, | 31 | `name` varchar(255) NOT NULL, |
32 | `value` varchar(255) NOT NULL, | 32 | `value` varchar(255) NOT NULL, |
33 | PRIMARY KEY (`id`) | 33 | PRIMARY KEY (`id`) |
34 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file | 34 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file |