mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
tinyint is better for sticked and closed
This commit is contained in:
parent
008374748e
commit
798d0948d1
@ -114,8 +114,8 @@ CREATE TABLE `myaac_forum`
|
|||||||
`last_edit_aid` int(20) NOT NULL default '0',
|
`last_edit_aid` int(20) NOT NULL default '0',
|
||||||
`edit_date` int(20) NOT NULL default '0',
|
`edit_date` int(20) NOT NULL default '0',
|
||||||
`post_ip` varchar(32) NOT NULL default '0.0.0.0',
|
`post_ip` varchar(32) NOT NULL default '0.0.0.0',
|
||||||
`sticked` INT(11) NOT NULL DEFAULT '0',
|
`sticked` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`closed` INT(11) NOT NULL DEFAULT '0',
|
`closed` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `section` (`section`)
|
KEY `section` (`section`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user