package
0.0.0-20220129045345-fa8983b7c4ef
Repository: https://github.com/npoolplatform/application-management.git
Documentation: pkg.go.dev

# Functions

NewSchema creates a new schema client.

# Variables

ApplicationGroupsColumns holds the columns for the "application_groups" table.
ApplicationGroupsTable holds the schema information for the "application_groups" table.
ApplicationGroupUsersColumns holds the columns for the "application_group_users" table.
ApplicationGroupUsersTable holds the schema information for the "application_group_users" table.
ApplicationResourcesColumns holds the columns for the "application_resources" table.
ApplicationResourcesTable holds the schema information for the "application_resources" table.
ApplicationRolesColumns holds the columns for the "application_roles" table.
ApplicationRolesTable holds the schema information for the "application_roles" table.
ApplicationRoleUsersColumns holds the columns for the "application_role_users" table.
ApplicationRoleUsersTable holds the schema information for the "application_role_users" table.
ApplicationsColumns holds the columns for the "applications" table.
ApplicationsTable holds the schema information for the "applications" table.
ApplicationUsersColumns holds the columns for the "application_users" table.
ApplicationUsersTable holds the schema information for the "application_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.
WithFixture sets the foreign-key renaming option to the migration when upgrading ent from v0.1.0 (issue-#285).
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.