Documentation ¶
Index ¶
- func AddMigration(packageName string, up, down rockhopper.TransactionHandler)
- func AddNamedMigration(packageName, filename string, up, down rockhopper.TransactionHandler)
- func GetMigrationsMap() map[rockhopper.RegistryKey]*rockhopper.Migration
- func MergeMigrationsMap(ms map[rockhopper.RegistryKey]*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(packageName string, 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[rockhopper.RegistryKey]*rockhopper.Migration
func MergeMigrationsMap ¶ added in v1.31.0
func MergeMigrationsMap(ms map[rockhopper.RegistryKey]*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 ¶
- main_20200721225616_trades.go
- main_20200819054742_trade_index.go
- main_20201102222546_orders.go
- main_20201103173342_trades_add_order_id.go
- main_20201105092857_trades_index_fix.go
- main_20201105093056_orders_add_index.go
- main_20201106114742_klines.go
- main_20201211175751_fix_symbol_length.go
- main_20210118163847_fix_unique_index.go
- main_20210119232826_add_margin_columns.go
- main_20210129182704_trade_price_quantity_index.go
- main_20210215203116_add_pnl_column.go
- main_20210223080622_add_rewards_table.go
- main_20210301140656_add_withdraws_table.go
- main_20210307201830_add_deposits_table.go
- main_20210416230730_klines_symbol_length.go
- main_20210421091430_increase_symbol_length.go
- main_20210421095030_increase_decimal_length.go
- main_20210531234123_add_kline_taker_buy_columns.go
- main_20211205162043_add_is_futures_column.go
- main_20211211020303_add_ftx_kline.go
- main_20211211034819_add_nav_history_details.go
- main_20211211103657_update_fee_currency_length.go
- main_20211226022411_add_kucoin_klines.go
- main_20220304153317_add_profit_table.go
- main_20220307132917_add_positions.go
- main_20220317125555_fix_trade_indexes.go
- main_20220419121046_fix_fee_column.go
- main_20220503144849_add_margin_info_to_nav.go
- main_20220504184155_fix_net_asset_column.go
- main_20220512170322_fix_profit_symbol_length.go
- main_20220520140707_kline_unique_idx.go
- main_20220531012226_margin_loans.go
- main_20220531013327_margin_repays.go
- main_20220531013542_margin_interests.go
- main_20220531015005_margin_liquidations.go
- main_20230815173104_add_bybit_klines.go
- main_20231123125402_fix_order_status_length.go
- migration_api.go
Click to show internal directories.
Click to hide internal directories.