-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdbInstall.sql
More file actions
17 lines (16 loc) · 929 Bytes
/
dbInstall.sql
File metadata and controls
17 lines (16 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- ALTER DATABASE `${data_base_name}` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
-- ALTER TABLE `${table_name}` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE TABLE `polish` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`word` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`add_date` datetime NOT NULL,
`adder_ip` int(11) unsigned NOT NULL DEFAULT '0',
`accepted` enum ('yes', 'no') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
`reject_reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`review_date` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `word` (`word`)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci;