kos/sql/bot.sql

23 lines
1.9 KiB
SQL

create table bot
(
id int auto_increment
primary key,
user_id int not null,
title varchar(100) null,
description varchar(300) null,
content varchar(10000) null,
rating int default 1500 null,
createtime datetime null,
modifytime datetime null,
constraint id
unique (id)
);
INSERT INTO kob.bot (id, user_id, title, description, content, rating, createtime, modifytime) VALUES (18, 1, 'Bot 的标题', 'Bot 的描述', '标题的代码', 1500, '2023-02-22 22:23:47', '2023-02-22 22:23:47');
INSERT INTO kob.bot (id, user_id, title, description, content, rating, createtime, modifytime) VALUES (19, 1, 'Bot 的标题', 'Bot 的描述', '标题的代码', 1500, '2023-02-22 22:24:52', '2023-02-22 22:24:52');
INSERT INTO kob.bot (id, user_id, title, description, content, rating, createtime, modifytime) VALUES (20, 1, 'Bot 的标题', 'Bot 的描述', '标题的代码', 1500, '2023-02-22 22:24:58', '2023-02-22 22:24:58');
INSERT INTO kob.bot (id, user_id, title, description, content, rating, createtime, modifytime) VALUES (21, 1, 'Bot 的标题', 'Bot 的描述', '标题的代码', 1500, '2023-02-22 22:25:09', '2023-02-22 22:25:09');
INSERT INTO kob.bot (id, user_id, title, description, content, rating, createtime, modifytime) VALUES (22, 2, 'Bot 的标题', 'Bot 的描述', '标题的代码', 1500, '2023-02-22 22:25:19', '2023-02-22 22:25:19');
INSERT INTO kob.bot (id, user_id, title, description, content, rating, createtime, modifytime) VALUES (23, 2, 'Bot 的标题', 'Bot 的描述', '标题的代码', 1500, '2023-02-22 22:25:32', '2023-02-22 22:25:32');
INSERT INTO kob.bot (id, user_id, title, description, content, rating, createtime, modifytime) VALUES (24, 2, 'Bot 的标题新24', 'Bot 的描述24', '标题的代码24', 1500, '2023-02-22 22:27:19', '2023-02-22 22:33:21');