Add route to create inbox entries
This commit is contained in:
@ -67,7 +67,10 @@ CREATE TABLE inbox
|
||||
id SERIAL PRIMARY KEY,
|
||||
file_id INTEGER NOT NULL REFERENCES files ON DELETE RESTRICT,
|
||||
user_id INTEGER NOT NULL REFERENCES users ON DELETE CASCADE,
|
||||
account_id INTEGER REFERENCES accounts ON DELETE CASCADE,
|
||||
movement_id INTEGER NULL REFERENCES movements ON DELETE CASCADE,
|
||||
time BIGINT NOT NULL,
|
||||
label VARCHAR(200) NULL,
|
||||
amount REAL NULL,
|
||||
time_create BIGINT NOT NULL,
|
||||
time_update BIGINT NOT NULL
|
||||
);
|
Reference in New Issue
Block a user