summaryrefslogtreecommitdiff
path: root/sw/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sw/schema.sql')
-rw-r--r--sw/schema.sql22
1 files changed, 21 insertions, 1 deletions
diff --git a/sw/schema.sql b/sw/schema.sql
index a51a7b9..409729c 100644
--- a/sw/schema.sql
+++ b/sw/schema.sql
@@ -2,7 +2,7 @@ drop table if exists inbox;
create table inbox (
recipient text,
- received int,
+ received text,
ap_attachment text,
ap_attributedTo text,
@@ -39,6 +39,26 @@ create table inbox (
ap_instrument text
);
+drop table if exists outbox;
+
+create table outbox (
+ sender text,
+ sent text,
+
+ ap_content text
+);
+
+drop table if exists items;
+
+create table items (
+ id integer primary key,
+
+ created text,
+ updated text,
+
+ content text
+);
+
drop table if exists users;
create table users (