alert usecases & repository methods

This commit is contained in:
yash 2026-02-25 22:48:23 +03:00
parent 16d38bb3cf
commit 0e73841b3e
5 changed files with 191 additions and 0 deletions

View file

@ -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