Generate these out too.

This commit is contained in:
Azareal 2018-12-27 16:03:25 +10:00
parent 8900ebb4cd
commit 6c42df3091
3 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ CREATE TABLE [topics] (
[createdAt] datetime not null,
[lastReplyAt] datetime not null,
[lastReplyBy] int not null,
[lastReplyID] int DEFAULT 0 not null,
[createdBy] int not null,
[is_closed] bit DEFAULT 0 not null,
[sticky] bit DEFAULT 0 not null,
@ -13,6 +14,7 @@ CREATE TABLE [topics] (
[ipaddress] nvarchar (200) DEFAULT '0.0.0.0.0' not null,
[postCount] int DEFAULT 1 not null,
[likeCount] int DEFAULT 0 not null,
[attachCount] int DEFAULT 0 not null,
[words] int DEFAULT 0 not null,
[views] int DEFAULT 0 not null,
[css_class] nvarchar (100) DEFAULT '' not null,

View File

@ -6,6 +6,7 @@ CREATE TABLE `topics` (
`createdAt` datetime not null,
`lastReplyAt` datetime not null,
`lastReplyBy` int not null,
`lastReplyID` int DEFAULT 0 not null,
`createdBy` int not null,
`is_closed` boolean DEFAULT 0 not null,
`sticky` boolean DEFAULT 0 not null,
@ -13,6 +14,7 @@ CREATE TABLE `topics` (
`ipaddress` varchar(200) DEFAULT '0.0.0.0.0' not null,
`postCount` int DEFAULT 1 not null,
`likeCount` int DEFAULT 0 not null,
`attachCount` int DEFAULT 0 not null,
`words` int DEFAULT 0 not null,
`views` int DEFAULT 0 not null,
`css_class` varchar(100) DEFAULT '' not null,

View File

@ -6,6 +6,7 @@ CREATE TABLE "topics" (
`createdAt` timestamp not null,
`lastReplyAt` timestamp not null,
`lastReplyBy` int not null,
`lastReplyID` int DEFAULT 0 not null,
`createdBy` int not null,
`is_closed` boolean DEFAULT 0 not null,
`sticky` boolean DEFAULT 0 not null,
@ -13,6 +14,7 @@ CREATE TABLE "topics" (
`ipaddress` varchar (200) DEFAULT '0.0.0.0.0' not null,
`postCount` int DEFAULT 1 not null,
`likeCount` int DEFAULT 0 not null,
`attachCount` int DEFAULT 0 not null,
`words` int DEFAULT 0 not null,
`views` int DEFAULT 0 not null,
`css_class` varchar (100) DEFAULT '' not null,