package
0.0.0-20241130081446-889e40d1b0d4
Repository: https://github.com/sandeep-jaiswar/engineering.git
Documentation: pkg.go.dev

# Functions

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

# Variables

PermissionsColumns holds the columns for the "permissions" table.
PermissionsTable holds the schema information for the "permissions" table.
PoliciesColumns holds the columns for the "policies" table.
PoliciesTable holds the schema information for the "policies" table.
RolePermissionsColumns holds the columns for the "role_permissions" table.
RolePermissionsTable holds the schema information for the "role_permissions" table.
RolesColumns holds the columns for the "roles" table.
RolesTable holds the schema information for the "roles" table.
Tables holds all the tables in the schema.
UserRolesColumns holds the columns for the "user_roles" table.
UserRolesTable holds the schema information for the "user_roles" 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.