commit ad414e97504bed4297c27835738e3076f5faf526
parent e1e3339e81af875e0b7040a3599ac6d33f1677dc
Author: srfsh <dev@srf.sh>
Date: Tue, 13 Sep 2022 17:46:04 +0300
Zenflows.DB.Repo.Migrations: add couple fields to economic_resources table
They are required for data ingestion.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/priv/repo/migrations/20211113071804_fill_vf_economic_resource.exs b/priv/repo/migrations/20211113071804_fill_vf_economic_resource.exs
@@ -37,6 +37,12 @@ def change() do
add :lot_id, references("vf_product_batch")
add :contained_in_id, references("vf_economic_resource")
add :unit_of_effort_id, references("vf_unit")
+ add :okhv, :text
+ add :repo, :text
+ add :version, :text
+ add :licensor, :text
+ add :license, :text
+ add :metadata, :jsonb
timestamps()
end
end