mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* move sql files into its own folder. * move outdated updates out of the update folder, sorted by github tags * split up the db dump so my editor doesn't try to hang itself if i dare to touch that file
18 lines
708 B
SQL
18 lines
708 B
SQL
DROP TABLE IF EXISTS `aowow_declinedword`;
|
|
DROP TABLE IF EXISTS `aowow_declinedwordcases`;
|
|
|
|
CREATE TABLE `aowow_declinedword` (
|
|
`id` SMALLINT(5) UNSIGNED NOT NULL,
|
|
`word` VARCHAR(127) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
|
|
CREATE TABLE `aowow_declinedwordcases` (
|
|
`wordId` SMALLINT(5) UNSIGNED NOT NULL,
|
|
`caseIdx` TINYINT(1) UNSIGNED NOT NULL,
|
|
`word` VARCHAR(131) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
|
PRIMARY KEY (`wordId`, `caseIdx`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
|
|
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`sql`, ''), ' declinedwords');
|