package
0.0.0-20240926060520-1949246cf711
Repository: https://github.com/npoolplatform/appuser-middleware.git
Documentation: pkg.go.dev

# Functions

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

# Variables

AppControlsColumns holds the columns for the "app_controls" table.
AppControlsTable holds the schema information for the "app_controls" table.
AppOauthThirdPartiesColumns holds the columns for the "app_oauth_third_parties" table.
AppOauthThirdPartiesTable holds the schema information for the "app_oauth_third_parties" table.
AppRolesColumns holds the columns for the "app_roles" table.
AppRolesTable holds the schema information for the "app_roles" table.
AppRoleUsersColumns holds the columns for the "app_role_users" table.
AppRoleUsersTable holds the schema information for the "app_role_users" table.
AppsColumns holds the columns for the "apps" table.
AppsTable holds the schema information for the "apps" table.
AppSubscribesColumns holds the columns for the "app_subscribes" table.
AppSubscribesTable holds the schema information for the "app_subscribes" table.
AppUserControlsColumns holds the columns for the "app_user_controls" table.
AppUserControlsTable holds the schema information for the "app_user_controls" table.
AppUserExtrasColumns holds the columns for the "app_user_extras" table.
AppUserExtrasTable holds the schema information for the "app_user_extras" table.
AppUsersColumns holds the columns for the "app_users" table.
AppUserSecretsColumns holds the columns for the "app_user_secrets" table.
AppUserSecretsTable holds the schema information for the "app_user_secrets" table.
AppUsersTable holds the schema information for the "app_users" table.
AppUserThirdPartiesColumns holds the columns for the "app_user_third_parties" table.
AppUserThirdPartiesTable holds the schema information for the "app_user_third_parties" table.
AuthHistoriesColumns holds the columns for the "auth_histories" table.
AuthHistoriesTable holds the schema information for the "auth_histories" table.
AuthsColumns holds the columns for the "auths" table.
AuthsTable holds the schema information for the "auths" table.
BanAppsColumns holds the columns for the "ban_apps" table.
BanAppsTable holds the schema information for the "ban_apps" table.
BanAppUsersColumns holds the columns for the "ban_app_users" table.
BanAppUsersTable holds the schema information for the "ban_app_users" table.
KycsColumns holds the columns for the "kycs" table.
KycsTable holds the schema information for the "kycs" table.
LoginHistoriesColumns holds the columns for the "login_histories" table.
LoginHistoriesTable holds the schema information for the "login_histories" table.
OauthThirdPartiesColumns holds the columns for the "oauth_third_parties" table.
OauthThirdPartiesTable holds the schema information for the "oauth_third_parties" table.
PubsubMessagesColumns holds the columns for the "pubsub_messages" table.
PubsubMessagesTable holds the schema information for the "pubsub_messages" table.
RecoveryCodesColumns holds the columns for the "recovery_codes" table.
RecoveryCodesTable holds the schema information for the "recovery_codes" table.
SubscribersColumns holds the columns for the "subscribers" table.
SubscribersTable holds the schema information for the "subscribers" 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.