package
0.0.0-20240808151852-3363955b67b3
Repository: https://github.com/sethcurry/stax.git
Documentation: pkg.go.dev

# Functions

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

# Variables

ArtistsColumns holds the columns for the "artists" table.
ArtistsTable holds the schema information for the "artists" table.
CardFacesColumns holds the columns for the "card_faces" table.
CardFacesTable holds the schema information for the "card_faces" table.
CardsColumns holds the columns for the "cards" table.
CardsTable holds the schema information for the "cards" table.
PrintingImagesColumns holds the columns for the "printing_images" table.
PrintingImagesTable holds the schema information for the "printing_images" table.
PrintingsColumns holds the columns for the "printings" table.
PrintingsTable holds the schema information for the "printings" table.
RulingsColumns holds the columns for the "rulings" table.
RulingsTable holds the schema information for the "rulings" table.
SetsColumns holds the columns for the "sets" table.
SetsTable holds the schema information for the "sets" 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.