summaryrefslogtreecommitdiff
path: root/sw/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sw/schema.sql')
-rw-r--r--sw/schema.sql36
1 files changed, 32 insertions, 4 deletions
diff --git a/sw/schema.sql b/sw/schema.sql
index d6ee27a..a51a7b9 100644
--- a/sw/schema.sql
+++ b/sw/schema.sql
@@ -39,10 +39,38 @@ create table inbox (
ap_instrument text
);
-drop table if exists user;
+drop table if exists users;
-create table user (
- id integer primary key autoincrement,
+create table users (
+ id integer primary key,
username text unique not null,
- password text not null
+ password text not null,
+ inbox_size integer default 0,
+
+ ap_attachment text,
+ ap_attributedTo text,
+ ap_audience text,
+ ap_content text,
+ ap_context text,
+ ap_name text,
+ ap_endTime text,
+ ap_generator text,
+ ap_icon text,
+ ap_image text,
+ ap_inReplyTo text,
+ ap_location text,
+ ap_preview text,
+ ap_published text,
+ ap_replies text,
+ ap_startTime text,
+ ap_summary text,
+ ap_tag text,
+ ap_updated text,
+ ap_url text,
+ ap_to text,
+ ap_bto text,
+ ap_cc text,
+ ap_bcc text,
+ ap_mediaType text,
+ ap_duration text
);