dockerized structure

This commit is contained in:
Ville Rantanen
2022-09-23 20:32:27 +03:00
parent 4602b4aa06
commit 08e60efabc
20 changed files with 640 additions and 550 deletions

19
code/schema.sql Normal file
View 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
);