更新数据库创建表bot.sql + user.sql

This commit is contained in:
flykhan 2023-03-05 16:27:39 +08:00
parent d1bc4c1ba4
commit c3c890be51
2 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,6 @@ create table bot
title varchar(100) null, title varchar(100) null,
description varchar(300) null, description varchar(300) null,
content varchar(10000) null, content varchar(10000) null,
rating int default 1500 null,
createtime datetime null, createtime datetime null,
modifytime datetime null, modifytime datetime null,
constraint id constraint id

View File

@ -5,6 +5,7 @@ create table user
username varchar(100) null, username varchar(100) null,
password varchar(100) null, password varchar(100) null,
photo varchar(1000) null, photo varchar(1000) null,
rating int default 1500 null,
constraint id constraint id
unique (id) unique (id)
); );