mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-03 01:38:45 +00:00
18 lines
435 B
Elixir
Executable file
18 lines
435 B
Elixir
Executable file
defmodule Bonfire.Repo.Migrations.ImportQuantify do
|
|
use Ecto.Migration
|
|
|
|
def up do
|
|
if Code.ensure_loaded?(Bonfire.Quantify.Migrations) do
|
|
Bonfire.Quantify.Migrations.change
|
|
Bonfire.Quantify.Migrations.change_measure
|
|
end
|
|
end
|
|
|
|
def down do
|
|
if Code.ensure_loaded?(Bonfire.Quantify.Migrations) do
|
|
Bonfire.Quantify.Migrations.change
|
|
Bonfire.Quantify.Migrations.change_measure
|
|
end
|
|
end
|
|
end
|