forked from cerc-io/ipld-eth-server
Remove bid_id unique constraint for Tend and Dent (#48)
This commit is contained in:
parent
8ee106e14d
commit
ed1ed979b3
@ -0,0 +1,5 @@
|
||||
ALTER TABLE maker.tend
|
||||
add constraint tend_bid_id_key unique (bid_id);
|
||||
|
||||
ALTER TABLE maker.dent
|
||||
add constraint dent_bid_id_key unique (bid_id);
|
@ -0,0 +1,5 @@
|
||||
ALTER TABLE maker.tend
|
||||
drop constraint tend_bid_id_key;
|
||||
|
||||
ALTER TABLE maker.dent
|
||||
drop constraint dent_bid_id_key;
|
@ -1477,14 +1477,6 @@ ALTER TABLE ONLY maker.deal
|
||||
ADD CONSTRAINT deal_pkey PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: dent dent_bid_id_key; Type: CONSTRAINT; Schema: maker; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY maker.dent
|
||||
ADD CONSTRAINT dent_bid_id_key UNIQUE (bid_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: dent dent_header_id_tx_idx_key; Type: CONSTRAINT; Schema: maker; Owner: -
|
||||
--
|
||||
@ -1677,14 +1669,6 @@ ALTER TABLE ONLY maker.price_feeds
|
||||
ADD CONSTRAINT price_feeds_pkey PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: tend tend_bid_id_key; Type: CONSTRAINT; Schema: maker; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY maker.tend
|
||||
ADD CONSTRAINT tend_bid_id_key UNIQUE (bid_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: tend tend_header_id_tx_idx_key; Type: CONSTRAINT; Schema: maker; Owner: -
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user