package
0.0.0-20241106020300-03d147aeb913
Repository: https://github.com/npoolplatform/miningpool-middleware.git
Documentation: pkg.go.dev

# Functions

Create creates all table resources using the given schema driver.
NewSchema creates a new schema client.

# Variables

AppPoolsColumns holds the columns for the "app_pools" table.
AppPoolsTable holds the schema information for the "app_pools" table.
CoinsColumns holds the columns for the "coins" table.
CoinsTable holds the schema information for the "coins" table.
FractionWithdrawalRulesColumns holds the columns for the "fraction_withdrawal_rules" table.
FractionWithdrawalRulesTable holds the schema information for the "fraction_withdrawal_rules" table.
FractionWithdrawalsColumns holds the columns for the "fraction_withdrawals" table.
FractionWithdrawalsTable holds the schema information for the "fraction_withdrawals" table.
GoodUsersColumns holds the columns for the "good_users" table.
GoodUsersTable holds the schema information for the "good_users" table.
OrderUsersColumns holds the columns for the "order_users" table.
OrderUsersTable holds the schema information for the "order_users" table.
PoolsColumns holds the columns for the "pools" table.
PoolsTable holds the schema information for the "pools" table.
RootUsersColumns holds the columns for the "root_users" table.
RootUsersTable holds the schema information for the "root_users" table.
Tables holds all the tables in the schema.
WithDropColumn sets the drop column option to the migration.
WithDropIndex sets the drop index option to the migration.
WithForeignKeys enables creating foreign-key in schema DDL.
WithGlobalUniqueID sets the universal ids options to the migration.

# Structs

Schema is the API for creating, migrating and dropping a schema.