Browse Source

shared bank db migration

pull/130/head
jake 2 years ago
parent
commit
8b4eb146ac
  1. 16
      src/entity/gateway/postgres/migrations/V0011__shared_bank.sql

16
src/entity/gateway/postgres/migrations/V0011__shared_bank.sql

@ -0,0 +1,16 @@
create table shared_bank (
user_account integer references user_accounts (id) not null,
items jsonb not null,
name varchar(128) not null,
unique (user_account, name)
);
create table shared_bank_meseta (
user_account integer references user_accounts (id) not null,
name varchar(128) not null,
meseta integer not null,
unique (user_account, name)
);
Loading…
Cancel
Save