ash_postgres/priv/test_repo/migrations/20210205230349_migrate_resources2point2.exs

21 lines
466 B
Elixir
Raw Normal View History

2021-03-30 04:12:31 +13:00
defmodule AshPostgres.TestRepo.Migrations.MigrateResources2Point2 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
create table(:integer_posts, primary_key: false) do
add :id, :serial, null: false, primary_key: true
add :title, :text
end
end
def down do
drop table("integer_posts")
end
2021-03-30 04:12:31 +13:00
end