kos/sql/user.sql

18 lines
1.4 KiB
SQL

create table user
(
id int auto_increment
primary key,
username varchar(100) null,
password varchar(100) null,
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');