Vat.fold: store ilk and urn as text instead of bytea

This commit is contained in:
David Terry 2018-10-04 18:48:06 +03:00
parent 8fb573351e
commit f79a017b48
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
CREATE TABLE maker.vat_fold (
id SERIAL PRIMARY KEY,
header_id INTEGER NOT NULL REFERENCES headers (id) ON DELETE CASCADE,
ilk bytea,
urn bytea,
ilk text,
urn text,
rate numeric,
tx_idx INTEGER NOT NULL,
raw_log JSONB,

View File

@ -704,8 +704,8 @@ ALTER SEQUENCE maker.tend_id_seq OWNED BY maker.tend.id;
CREATE TABLE maker.vat_fold (
id integer NOT NULL,
header_id integer NOT NULL,
ilk bytea,
urn bytea,
ilk text,
urn text,
rate numeric,
tx_idx integer NOT NULL,
raw_log jsonb