Files
aowow/setup/sql/updates/1692289951_01.sql
Sarjuuk 647be4a946 Setup/SQL
* 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
2025-09-25 18:44:48 +02:00

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');