diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-08-27 02:52:31 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-08-27 02:52:31 +1000 |
| commit | c96b27eb5ba544b0be4aec59af0b2b587cfaf06e (patch) | |
| tree | f010efb591375886203c97fbca62c3d8f3435ac0 /templates/posts.sql | |
| parent | a9562075f6c17bc848f7a5b1923177ade75f3611 (diff) | |
use UNSIGNED for `id` columns
Diffstat (limited to 'templates/posts.sql')
| -rw-r--r-- | templates/posts.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/posts.sql b/templates/posts.sql index ef8d403e..d10749f8 100644 --- a/templates/posts.sql +++ b/templates/posts.sql @@ -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,
|
