package
0.0.0-20241223183755-35153810ea79
Repository: https://github.com/devldavydov/myfood.git
Documentation: pkg.go.dev

# Functions

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

# Variables

ActivitiesColumns holds the columns for the "activities" table.
ActivitiesTable holds the schema information for the "activities" table.
BundlesColumns holds the columns for the "bundles" table.
BundlesTable holds the schema information for the "bundles" table.
FoodsColumns holds the columns for the "foods" table.
FoodsTable holds the schema information for the "foods" table.
JournalsColumns holds the columns for the "journals" table.
JournalsTable holds the schema information for the "journals" table.
Tables holds all the tables in the schema.
UserSettingsColumns holds the columns for the "user_settings" table.
UserSettingsTable holds the schema information for the "user_settings" table.
WeightsColumns holds the columns for the "weights" table.
WeightsTable holds the schema information for the "weights" 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.