Merge pull request #1501 from poanetwork/constructor_arguments_text
fix: constructor_arguments must be type `text`pull/1510/head
commit
6f0759633d
@ -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…
Reference in new issue