Skip to content

Commit

Permalink
fix init.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Goryudyuma committed Mar 21, 2018
1 parent 6c86476 commit 11681ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CREATE TABLE `users` (
`votes` int(4) NOT null,
PRIMARY KEY (`id`),
UNIQUE KEY `mynumber` (`mynumber`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `candidates` (
`id` int(11) NOT NULL AUTO_INCREMENT,
Expand All @@ -19,7 +19,7 @@ CREATE TABLE `candidates` (
`sex` varchar(32) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `votes` (
`id` int(32) NOT NULL AUTO_INCREMENT,
Expand All @@ -28,4 +28,4 @@ CREATE TABLE `votes` (
`keyword` text NOT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

0 comments on commit 11681ac

Please sign in to comment.