summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql
new file mode 100644
index 0000000..564385e
--- /dev/null
+++ b/schema.sql
@@ -0,0 +1,12 @@
+create table if not exists `files` (
+ `id` int primary key auto_increment,
+ `path` text not null,
+ `group_id` int not null
+);
+
+create table if not exists `groups` (
+ `id` int primary key auto_increment,
+ `name` text not null,
+ `provider` varchar(16) not null,
+ `date` int not null
+);