package
0.0.0-20240228110336-1ba4f5237a28
Repository: https://github.com/npoolplatform/cms-middleware.git
Documentation: pkg.go.dev

# Functions

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

# Variables

AclsColumns holds the columns for the "acls" table.
AclsTable holds the schema information for the "acls" table.
ArticlesColumns holds the columns for the "articles" table.
ArticlesTable holds the schema information for the "articles" table.
CategoriesColumns holds the columns for the "categories" table.
CategoriesTable holds the schema information for the "categories" table.
MediaColumns holds the columns for the "media" table.
MediaTable holds the schema information for the "media" 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.