Browse Source

Mysql Strict Mode: give LastPostID a default value

spaghetti 8 years ago
parent
commit
1f5cfb8dad
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      gazelle.sql

+ 1
- 1
gazelle.sql View File

@@ -442,7 +442,7 @@ CREATE TABLE `forums_topics` (
442 442
   `IsSticky` enum('0','1') NOT NULL DEFAULT '0',
443 443
   `ForumID` int(3) NOT NULL,
444 444
   `NumPosts` int(10) NOT NULL DEFAULT '0',
445
-  `LastPostID` int(10) NOT NULL,
445
+  `LastPostID` int(10) NOT NULL DEFAULT '0',
446 446
   `LastPostTime` datetime,
447 447
   `LastPostAuthorID` int(10) NOT NULL,
448 448
   `StickyPostID` int(10) NOT NULL DEFAULT '0',

Loading…
Cancel
Save