Documentation ¶
Index ¶
- func AddMigration(up, down rockhopper.TransactionHandler)
- func AddNamedMigration(packageName, filename string, up, down rockhopper.TransactionHandler)
- func GetMigrationsMap() map[int64]*rockhopper.Migration
- func MergeMigrationsMap(ms map[int64]*rockhopper.Migration)
- func Migrations() rockhopper.MigrationSlice
- func SortedMigrations() rockhopper.MigrationSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMigration ¶
func AddMigration(up, down rockhopper.TransactionHandler)
AddMigration adds a migration with its runtime caller information
func AddNamedMigration ¶
func AddNamedMigration(packageName, filename string, up, down rockhopper.TransactionHandler)
AddNamedMigration adds a named migration to the registered go migration map
func GetMigrationsMap ¶ added in v1.31.0
func GetMigrationsMap() map[int64]*rockhopper.Migration
func MergeMigrationsMap ¶ added in v1.31.0
func MergeMigrationsMap(ms map[int64]*rockhopper.Migration)
func Migrations ¶
func Migrations() rockhopper.MigrationSlice
Migrations builds up the migration objects, sort them by timestamp and return as a slice
func SortedMigrations ¶ added in v1.31.0
func SortedMigrations() rockhopper.MigrationSlice
SortedMigrations builds up the migration objects, sort them by timestamp and return as a slice
Types ¶
This section is empty.
Source Files ¶
- 20200721225616_trades.go
- 20200819054742_trade_index.go
- 20201102222546_orders.go
- 20201103173342_trades_add_order_id.go
- 20201105092857_trades_index_fix.go
- 20201105093056_orders_add_index.go
- 20201106114742_klines.go
- 20201211175751_fix_symbol_length.go
- 20210118163847_fix_unique_index.go
- 20210119232826_add_margin_columns.go
- 20210129182704_trade_price_quantity_index.go
- 20210215203111_add_pnl_column.go
- 20210223080622_add_rewards_table.go
- 20210301140656_add_withdraws_table.go
- 20210307201830_add_deposits_table.go
- 20210531234123_add_kline_taker_buy_columns.go
- 20211204014905_update_taker_buy_base_volumn.go
- 20211205162302_add_is_futures_column.go
- 20211211020303_add_ftx_kline.go
- 20211211034818_add_nav_history_details.go
- 20211211103657_update_fee_currency_length.go
- 20211226022411_add_kucoin_klines.go
- 20220304153309_add_profit_table.go
- 20220307132917_add_positions.go
- 20220317125555_fix_trade_indexes.go
- 20220419121046_fix_fee_column.go
- 20220503144849_add_margin_info_to_nav.go
- 20220504184155_fix_net_asset_column.go
- 20220512170330_fix_profit_symbol_length.go
- 20220520140707_kline_unique_idx.go
- 20220531012226_margin_loans.go
- 20220531013327_margin_repays.go
- 20220531013541_margin_interests.go
- 20220531015005_margin_liquidations.go
- migration_api.go
Click to show internal directories.
Click to hide internal directories.