更新数据库创建表

This commit is contained in:
flykhan 2023-02-23 17:49:39 +08:00
parent 31dbe94707
commit 51fda496d1
2 changed files with 2 additions and 17 deletions

View File

@ -12,11 +12,3 @@ create table bot
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');

View File

@ -8,10 +8,3 @@ create table user
constraint id
unique (id)
);
INSERT INTO kob.user (id, username, password, photo) VALUES (1, 'flykhan', '$2a$10$QFuXnHMmxwjRZTiqh/n5YOAuubzBd6DrVJ2dGGZ/lNJjgrGx1S7M.', 'https://cdn.acwing.com/media/user/profile/photo/253652_lg_e3d8435b66.jpg');
INSERT INTO kob.user (id, username, password, photo) VALUES (2, 'bb', '$2a$10$dTcJdfIBzJeESHSnr.f0.ugIXmhIcyQAdIxMIt1iF.WsJqojf/Ynu', 'https://img.ddtouxiang.com/upload/touxiang/20230220/022022230820.jpg');
INSERT INTO kob.user (id, username, password, photo) VALUES (3, 'cc', '$2a$10$UDah/ZMGAhFPtJy4axDt4.coTvw1JzCqd6PNk.IP5sgW98kVsBK.6', 'https://img.ddtouxiang.com/upload/touxiang/20230220/022022230843.jpeg');
INSERT INTO kob.user (id, username, password, photo) VALUES (4, 'ccs', '$2a$10$NCLtNezbIwKjSoCXCf258eL4dIa7EhRrNWzsa4SGiLNz3gL79M69q', 'https://cdn.acwing.com/media/user/profile/photo/253652_lg_e3d8435b66.jpg');
INSERT INTO kob.user (id, username, password, photo) VALUES (5, 'wws', '$2a$10$rJsaZpMi7KlWp6I6cQRlFO7QCK2ObzeVaAMApZqWWN0NHzg9eERKa', 'https://cdn.acwing.com/media/user/profile/photo/253652_lg_e3d8435b66.jpg');
INSERT INTO kob.user (id, username, password, photo) VALUES (6, 'dd', '$2a$10$dSk83a6Q8UK0YaFfCVmeNOhg3Z7PuUdUOyggKr.ub0dgKTUx/GFXm', 'https://cdn.acwing.com/media/user/profile/photo/253652_lg_e3d8435b66.jpg');