2022-07-15 07:09:04 +12:00
|
|
|
defmodule AshHq.Repo.Migrations.MigrateResources12 do
|
|
|
|
@moduledoc """
|
|
|
|
Updates resources based on their most recent snapshots.
|
|
|
|
|
|
|
|
This file was autogenerated with `mix ash_postgres.generate_migrations`
|
|
|
|
"""
|
|
|
|
|
|
|
|
use Ecto.Migration
|
|
|
|
|
|
|
|
def up do
|
|
|
|
alter table(:library_versions) do
|
2022-09-30 05:56:07 +13:00
|
|
|
modify(:default_guide, :text, null: true)
|
2022-07-15 07:09:04 +12:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def down do
|
|
|
|
alter table(:library_versions) do
|
2022-09-30 05:56:07 +13:00
|
|
|
modify(:default_guide, :text, null: false)
|
2022-07-15 07:09:04 +12:00
|
|
|
end
|
|
|
|
end
|
2022-09-30 05:56:07 +13:00
|
|
|
end
|