pessistic locking upsert on limit_check_locks (#287)

This commit is contained in:
Michael Quigley
2024-05-15 15:18:53 -04:00
parent f0b0a959f0
commit 2a770cc3b8
2 changed files with 5 additions and 5 deletions

View File

@ -2,6 +2,6 @@
create table limit_check_locks (
id serial primary key,
account_id integer not null references accounts (id),
account_id integer not null references accounts (id) unique,
updated_at timestamptz not null default(current_timestamp)
);