alert usecases & repository methods
This commit is contained in:
parent
16d38bb3cf
commit
0e73841b3e
5 changed files with 191 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ create table if not exists instrument (
|
|||
|
||||
create table if not exists alert (
|
||||
id uuid primary key not null default gen_random_uuid(),
|
||||
user_id uuid references users(id) not null,
|
||||
instrument_id uuid references instrument(id) not null,
|
||||
price text not null,
|
||||
active bool not null default true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue