package
0.0.0-20240707031454-d5824db75683
Repository: https://github.com/scorify/backend.git
Documentation: pkg.go.dev

# Functions

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

# Variables

CheckConfigsColumns holds the columns for the "check_configs" table.
CheckConfigsTable holds the schema information for the "check_configs" table.
ChecksColumns holds the columns for the "checks" table.
ChecksTable holds the schema information for the "checks" table.
InjectsColumns holds the columns for the "injects" table.
InjectsTable holds the schema information for the "injects" table.
InjectSubmissionsColumns holds the columns for the "inject_submissions" table.
InjectSubmissionsTable holds the schema information for the "inject_submissions" table.
RoundsColumns holds the columns for the "rounds" table.
RoundsTable holds the schema information for the "rounds" table.
ScoreCachesColumns holds the columns for the "score_caches" table.
ScoreCachesTable holds the schema information for the "score_caches" table.
StatusColumns holds the columns for the "status" table.
StatusTable holds the schema information for the "status" table.
Tables holds all the tables in the schema.
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.