zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

commit 22209af4c9be76fd8c5ffa1f5163bb4ba156f77e
parent 5872b4893a2fa69c1b94364f4cebc49d960fd337
Author: srfsh <dev@srf.sh>
Date:   Wed,  3 Aug 2022 10:32:25 +0300

Zenflows.DB.Repo.Migrations: support image fields

Diffstat:
Mpriv/repo/migrations/20211111094959_fill_vf_resource_specification.exs | 2+-
Mpriv/repo/migrations/20211111102319_fill_vf_recipe_resource.exs | 2+-
Mpriv/repo/migrations/20211111175352_fill_vf_agent.exs | 2+-
Mpriv/repo/migrations/20211113071804_fill_vf_economic_resource.exs | 2+-
Mpriv/repo/migrations/20211114190636_fill_vf_intent.exs | 2+-
5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/priv/repo/migrations/20211111094959_fill_vf_resource_specification.exs b/priv/repo/migrations/20211111094959_fill_vf_resource_specification.exs @@ -22,7 +22,7 @@ def change() do alter table("vf_resource_specification") do add :name, :text, null: false add :note, :text - # add :image + add :image, :text add :resource_classified_as, {:array, :text} add :default_unit_of_resource_id, references("vf_unit") add :default_unit_of_effort_id, references("vf_unit") diff --git a/priv/repo/migrations/20211111102319_fill_vf_recipe_resource.exs b/priv/repo/migrations/20211111102319_fill_vf_recipe_resource.exs @@ -23,7 +23,7 @@ def change() do add :name, :text, null: false add :note, :text add :substitutable, :boolean, default: false, null: false - # add :image + add :image, :text add :resource_classified_as, {:array, :text} add :resource_conforms_to_id, references("vf_resource_specification") add :unit_of_resource_id, references("vf_unit") diff --git a/priv/repo/migrations/20211111175352_fill_vf_agent.exs b/priv/repo/migrations/20211111175352_fill_vf_agent.exs @@ -44,7 +44,7 @@ def change() do # common add :name, :text, null: false - # add :image + add :image, :text add :note, :text add :primary_location_id, references("vf_spatial_thing") diff --git a/priv/repo/migrations/20211113071804_fill_vf_economic_resource.exs b/priv/repo/migrations/20211113071804_fill_vf_economic_resource.exs @@ -22,7 +22,7 @@ def change() do alter table("vf_economic_resource") do add :name, :text, null: false add :note, :text - # add :image + add :image, :text add :tracking_identifier, :text add :classified_as, {:array, :text} add :conforms_to_id, references("vf_resource_specification"), null: false diff --git a/priv/repo/migrations/20211114190636_fill_vf_intent.exs b/priv/repo/migrations/20211114190636_fill_vf_intent.exs @@ -41,7 +41,7 @@ def change() do add :has_point_in_time, :timestamptz add :due, :timestamptz add :finished, :boolean, default: false, null: false - # add :image + add :image, :text add :note, :text # add :in_scope_of add :agreed_in, :text