Skip to content

Commit

Permalink
fix(explorer): gas_used/gas_limit should be numeric, not int
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvisa authored and KronicDeth committed Sep 17, 2018
1 parent 247ad17 commit 765cc13
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
defmodule Explorer.Repo.Migrations.ModifyBlockGas do
use Ecto.Migration

def change do
alter table(:blocks) do
modify(:gas_used, :numeric, precision: 100)
modify(:gas_limit, :numeric, precision: 100)
end
end
end

0 comments on commit 765cc13

Please sign in to comment.