summaryrefslogtreecommitdiff
path: root/schema.txt
diff options
context:
space:
mode:
authorhorus_arch2018-02-01 12:06:16 +0100
committerhorus_arch2018-02-01 12:06:16 +0100
commita5bda60647639e787a777446dce693ac330fe940 (patch)
tree78efc36970114022765cad25c4d5faecbaf99933 /schema.txt
downloadalkobote-a5bda60647639e787a777446dce693ac330fe940.tar.gz
Initial commit.
Diffstat (limited to 'schema.txt')
-rw-r--r--schema.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/schema.txt b/schema.txt
new file mode 100644
index 0000000..a21b69a
--- /dev/null
+++ b/schema.txt
@@ -0,0 +1,20 @@
+CREATE TABLE whisky (
+ id int PRIMARY KEY auto_increment,
+ shop int,
+ name text,
+ url text,
+ price text,
+ original_price text,
+ valid_until int,
+ image_url text,
+ created_at int
+);
+
+CREATE TABLE shop (
+ id int PRIMARY KEY auto_increment,
+ name text,
+ website_url text,
+ logo_url text,
+ shipping_costs text,
+ free_shipping text
+);