gosora/schema/mssql/query_likes.sql

8 lines
258 B
SQL

CREATE TABLE [likes] (
[weight] tinyint DEFAULT 1 not null,
[targetItem] int not null,
[targetType] nvarchar (50) DEFAULT 'replies' not null,
[sentBy] int not null,
[createdAt] datetime not null,
[recalc] tinyint DEFAULT 0 not null
);