diff --git a/apps/explorer/priv/repo/migrations/20190228152333_change_constructor_arguments_to_text.exs b/apps/explorer/priv/repo/migrations/20190228152333_change_constructor_arguments_to_text.exs new file mode 100644 index 000000000000..6582a013d85d --- /dev/null +++ b/apps/explorer/priv/repo/migrations/20190228152333_change_constructor_arguments_to_text.exs @@ -0,0 +1,15 @@ +defmodule Explorer.Repo.Migrations.ChangeConstructorArgumentsToText do + use Ecto.Migration + + def up do + alter table(:smart_contracts) do + modify(:constructor_arguments, :text) + end + end + + def down do + alter table(:smart_contracts) do + modify(:constructor_arguments, :string) + end + end +end