Skip to content

Commit

Permalink
feat: add total supply to daily statistic
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunda committed Apr 30, 2020
1 parent 64717a5 commit 8c383bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddTotalSupplyToDailyStatistic < ActiveRecord::Migration[6.0]
def change
add_column :daily_statistics, :total_supply, :decimal, precision: 30
end
end
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2020_04_27_041823) do
ActiveRecord::Schema.define(version: 2020_04_27_073824) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down

0 comments on commit 8c383bd

Please sign in to comment.