PhoenixBlog.Migration (phoenix_blog v0.1.7)

Copy Markdown View Source

Migrations for PhoenixBlog.

Usage

Create a migration in your host application:

defmodule MyApp.Repo.Migrations.AddPhoenixBlog do
  use Ecto.Migration

  def up, do: PhoenixBlog.Migration.up()
  def down, do: PhoenixBlog.Migration.down()
end

Then run mix ecto.migrate.

Summary

Functions

down(opts \\ [])

up(opts \\ [])