summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-08-27 02:52:31 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-08-27 02:52:31 +1000
commitc96b27eb5ba544b0be4aec59af0b2b587cfaf06e (patch)
treef010efb591375886203c97fbca62c3d8f3435ac0 /templates
parenta9562075f6c17bc848f7a5b1923177ade75f3611 (diff)
use UNSIGNED for `id` columns
Diffstat (limited to 'templates')
-rw-r--r--templates/posts.sql2
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,