use UNSIGNED for id columns

This commit is contained in:
Michael Save 2012-08-27 02:52:31 +10:00
parent a9562075f6
commit c96b27eb5b
4 changed files with 24 additions and 14 deletions

View file

@ -1,5 +1,5 @@
CREATE TABLE IF NOT EXISTS `posts_{{ board }}` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`thread` int(11) DEFAULT NULL,
`subject` varchar(100) DEFAULT NULL,
`email` varchar(30) DEFAULT NULL,