init commit
This commit is contained in:
9
store/migration/sqlite/0.17/00__inbox.sql
Normal file
9
store/migration/sqlite/0.17/00__inbox.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- inbox
|
||||
CREATE TABLE inbox (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
created_ts BIGINT NOT NULL DEFAULT (strftime('%s', 'now')),
|
||||
sender_id INTEGER NOT NULL,
|
||||
receiver_id INTEGER NOT NULL,
|
||||
status TEXT NOT NULL,
|
||||
message TEXT NOT NULL DEFAULT '{}'
|
||||
);
|
||||
1
store/migration/sqlite/0.17/01__delete_activities.sql
Normal file
1
store/migration/sqlite/0.17/01__delete_activities.sql
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM activity;
|
||||
Reference in New Issue
Block a user