diff options
| author | Tom Harley | 2021-07-09 15:16:54 +0000 |
|---|---|---|
| committer | Tom Harley | 2021-07-09 15:16:54 +0000 |
| commit | 57e7488149ee093e34774d83ffe161fb305a7dde (patch) | |
| tree | ed922a052cd8eb6fc5b77c21970cb0d0b02b9cb3 /sw/schema.sql | |
| parent | Add testing for authorisation decorators (diff) | |
| download | swap-57e7488149ee093e34774d83ffe161fb305a7dde.tar.gz swap-57e7488149ee093e34774d83ffe161fb305a7dde.zip | |
Add basic inbox/outbox functionality
Lots of added TODOs, and very little test coverage for the new functions.
Next step is to get 100% coverage of what we have so far.
Diffstat (limited to 'sw/schema.sql')
| -rw-r--r-- | sw/schema.sql | 22 |
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 ( |
