package
0.0.0-20240731030656-e48f78ca215c
Repository: https://github.com/npoolplatform/account-middleware.git
Documentation: pkg.go.dev

# Functions

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

# Variables

AccountsColumns holds the columns for the "accounts" table.
AccountsTable holds the schema information for the "accounts" table.
DepositsColumns holds the columns for the "deposits" table.
DepositsTable holds the schema information for the "deposits" table.
GoodBenefitsColumns holds the columns for the "good_benefits" table.
GoodBenefitsTable holds the schema information for the "good_benefits" table.
PaymentsColumns holds the columns for the "payments" table.
PaymentsTable holds the schema information for the "payments" table.
PlatformsColumns holds the columns for the "platforms" table.
PlatformsTable holds the schema information for the "platforms" table.
Tables holds all the tables in the schema.
TransfersColumns holds the columns for the "transfers" table.
TransfersTable holds the schema information for the "transfers" table.
UsersColumns holds the columns for the "users" table.
UsersTable holds the schema information for the "users" table.
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.