diff options
Diffstat (limited to 'sw/schema.sql')
| -rw-r--r-- | sw/schema.sql | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sw/schema.sql b/sw/schema.sql new file mode 100644 index 0000000..d6ee27a --- /dev/null +++ b/sw/schema.sql @@ -0,0 +1,48 @@ +drop table if exists inbox; + +create table inbox ( + recipient text, + received int, + + 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, + + ap_actor text, + ap_object text, + ap_target text, + ap_result text, + ap_origin text, + ap_instrument text +); + +drop table if exists user; + +create table user ( + id integer primary key autoincrement, + username text unique not null, + password text not null +); |
