Skip to content

Commit

Permalink
fix: constructor_arguments must be type text
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Feb 28, 2019
1 parent e0b4ac6 commit 99f7858
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 99f7858

Please sign in to comment.