Skip to content

Commit

Permalink
Merge pull request #1 from Goryudyuma/fix-init.sql
Browse files Browse the repository at this point in the history
fix init.sql
  • Loading branch information
showwin authored Mar 22, 2018
2 parents 6c86476 + 11681ac commit f0a67d6
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 f0a67d6

Please sign in to comment.