update tests and import order per PR feedback

This commit is contained in:
Taka Goto
2018-08-30 15:06:14 -05:00
parent 4ca7c10f92
commit adc7c47244
5 changed files with 33 additions and 7 deletions
@@ -9,5 +9,6 @@ CREATE TABLE maker.bite (
tab NUMERIC,
flip VARCHAR,
tx_idx INTEGER NOT NUll,
raw_log JSONB
raw_log JSONB,
UNIQUE (header_id, tx_idx)
)
+8
View File
@@ -701,6 +701,14 @@ ALTER TABLE ONLY public.transactions ALTER COLUMN id SET DEFAULT nextval('public
ALTER TABLE ONLY public.watched_contracts ALTER COLUMN contract_id SET DEFAULT nextval('public.watched_contracts_contract_id_seq'::regclass);
--
-- Name: bite bite_header_id_tx_idx_key; Type: CONSTRAINT; Schema: maker; Owner: -
--
ALTER TABLE ONLY maker.bite
ADD CONSTRAINT bite_header_id_tx_idx_key UNIQUE (header_id, tx_idx);
--
-- Name: bite bite_pkey; Type: CONSTRAINT; Schema: maker; Owner: -
--