gosora/schema/mysql/query_likes.sql

8 lines
238 B
MySQL
Raw Normal View History

CREATE TABLE `likes` (
`weight` tinyint DEFAULT 1 not null,
`targetItem` int not null,
`targetType` varchar(50) DEFAULT 'replies' not null,
`sentBy` int not null,
2018-10-07 01:33:03 +00:00
`createdAt` datetime not null,
`recalc` tinyint DEFAULT 0 not null
);