diff --git a/sql/bot.sql b/sql/bot.sql index bb55a58..5236525 100644 --- a/sql/bot.sql +++ b/sql/bot.sql @@ -11,12 +11,4 @@ create table bot 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'); +); \ No newline at end of file diff --git a/sql/user.sql b/sql/user.sql index 684b4be..ee9735f 100644 --- a/sql/user.sql +++ b/sql/user.sql @@ -7,11 +7,4 @@ create table user photo varchar(1000) null, 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'); +); \ No newline at end of file