Skip to content

Commit

Permalink
修改数据库表结构
Browse files Browse the repository at this point in the history
  • Loading branch information
suvvm committed Nov 21, 2019
1 parent f6a9628 commit 6fa1746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ create table users (
imgbase64 mediumtext,
power int
)auto_increment=100000001 default charset=utf8;

delete from users where id = 100000002;
drop table companys;

create table companys (
Expand All @@ -31,21 +31,13 @@ create table investigates (
name nvarchar(200) not null,
visible bool not null,
description nvarchar(200),
details nvarchar(100),
result nvarchar(100),
details mediumtext,
ownerid int,
number int,
time datetime,
foreign key(ownerid) references users(id)
)auto_increment=300000001 default charset=utf8;

/*create table invdetils (
invid int,
qs1 mediumtext not null,
qs2 mediumtext not null,
……
qsn mediumtext not null
) */
create table tags (
id int primary key not null auto_increment,
name nvarchar(20),
Expand Down
Binary file modified 数据字典.xlsx
Binary file not shown.

0 comments on commit 6fa1746

Please sign in to comment.