10 lines
578 B
SQL
10 lines
578 B
SQL
CREATE TABLE `pages` (
|
|
`id` INT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
`title` VARBINARY(255) NOT NULL DEFAULT '',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY (`title`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=77490241 DEFAULT CHARSET=binary ROW_FORMAT=COMPRESSED;
|
|
|
|
-- VARBINARY usage instead of VARCHAR explanation: <https://stackoverflow.com/a/13397437>
|
|
-- > War on varchar. Changed all occurrences of varchar(N) and varchar(N) binary to varbinary(N). varchars cause problems ("Invalid mix of collations" errors) on MySQL databases with certain configs, most notably the default MySQL config.
|