Merge pull request #1501 from poanetwork/constructor_arguments_text

fix: constructor_arguments must be type `text`
pull/1510/head
Victor Baranov 6 years ago committed by GitHub
commit 6f0759633d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      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
Loading…
Cancel
Save