mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-21 13:52:51 +12:00
23 lines
481 B
Elixir
23 lines
481 B
Elixir
|
defmodule AshHq.Repo.Migrations.MigrateResources9 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(:extensions) do
|
||
|
modify :doc, :text, default: ""
|
||
|
add :doc_html, :text
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def down do
|
||
|
alter table(:extensions) do
|
||
|
remove :doc_html
|
||
|
modify :doc, :text, default: nil
|
||
|
end
|
||
|
end
|
||
|
end
|