Merge pull request #1559 from poanetwork/ab-change-v-column-type
change v column typepull/1613/head
commit
b07d57f682
@ -0,0 +1,15 @@ |
||||
defmodule Explorer.Repo.Migrations.ChangeTransactionsVColumnType do |
||||
use Ecto.Migration |
||||
|
||||
def up do |
||||
alter table(:transactions) do |
||||
modify(:v, :numeric, precision: 100, null: false) |
||||
end |
||||
end |
||||
|
||||
def down do |
||||
alter table(:transactions) do |
||||
modify(:v, :integer, null: false) |
||||
end |
||||
end |
||||
end |
Loading…
Reference in new issue