should work
This commit is contained in:
19
schema.sql
Normal file
19
schema.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
drop table if exists users;
|
||||
drop table if exists shops;
|
||||
drop table if exists shares;
|
||||
create table users (
|
||||
id integer primary key autoincrement,
|
||||
user text not null,
|
||||
pass text not null
|
||||
);
|
||||
create table shops (
|
||||
id integer primary key autoincrement,
|
||||
shop text not null,
|
||||
owner integer not null
|
||||
);
|
||||
create table shares (
|
||||
shopid integer not null,
|
||||
userid integer not null
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user