forked from nervosnetwork/ckb-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add more columns to daily statistics
daily_dao_deposit, daily_dao_depositors_count and daily_dao_withdraw
- Loading branch information
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
db/migrate/20200424084519_add_daily_dao_deposit_to_daily_statistics.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class AddDailyDaoDepositToDailyStatistics < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :daily_statistics, :daily_dao_deposit, :decimal, precision: 30 | ||
add_column :daily_statistics, :daily_dao_depositors_count, :integer | ||
add_column :daily_statistics, :daily_dao_withdraw, :decimal, precision: 30 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters