fix: remove redundant unique constraint from customer_wallets table
This commit is contained in:
parent
61bd5abd00
commit
d04198e08a
|
|
@ -117,8 +117,7 @@ CREATE TABLE IF NOT EXISTS customer_wallets (
|
||||||
regular_wallet_id BIGINT NOT NULL,
|
regular_wallet_id BIGINT NOT NULL,
|
||||||
static_wallet_id BIGINT NOT NULL,
|
static_wallet_id BIGINT NOT NULL,
|
||||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||||
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||||
UNIQUE (customer_id, company_id)
|
|
||||||
);
|
);
|
||||||
CREATE TABLE IF NOT EXISTS wallet_transfer (
|
CREATE TABLE IF NOT EXISTS wallet_transfer (
|
||||||
id BIGSERIAL PRIMARY KEY,
|
id BIGSERIAL PRIMARY KEY,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user