mirror of
https://github.com/chevereto/chevereto.git
synced 2025-11-09 06:35:40 +01:00
10 lines
427 B
MySQL
10 lines
427 B
MySQL
|
|
DROP TABLE IF EXISTS `%table_prefix%categories`;
|
||
|
|
CREATE TABLE `%table_prefix%categories` (
|
||
|
|
`category_id` bigint(32) NOT NULL AUTO_INCREMENT,
|
||
|
|
`category_name` varchar(32) NOT NULL,
|
||
|
|
`category_url_key` varchar(32) NOT NULL,
|
||
|
|
`category_description` mediumtext,
|
||
|
|
PRIMARY KEY (`category_id`),
|
||
|
|
UNIQUE KEY `url_key` (`category_url_key`) USING BTREE
|
||
|
|
) ENGINE=%table_engine% DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
|