mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
20 lines
466 B
Elixir
20 lines
466 B
Elixir
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
|
|
end
|