package
0.0.0-20220403165414-79ce300d6602
Repository: https://github.com/sundaytycoon/buttons-api.git
Documentation: pkg.go.dev
# Functions
NewSchema creates a new schema client.
# Variables
SessionsColumns holds the columns for the "sessions" table.
SessionsTable holds the schema information for the "sessions" table.
Tables holds all the tables in the schema.
UserDevicesColumns holds the columns for the "user_devices" table.
UserDevicesTable holds the schema information for the "user_devices" table.
UserMetaColumns holds the columns for the "user_meta" table.
UserMetaTable holds the schema information for the "user_meta" table.
UserOauthProvidersColumns holds the columns for the "user_oauth_providers" table.
UserOauthProvidersTable holds the schema information for the "user_oauth_providers" 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.
WithFixture sets the foreign-key renaming option to the migration when upgrading ent from v0.1.0 (issue-#285).
WithForeignKeys enables creating foreign-key in schema DDL.
WithGlobalUniqueID sets the universal ids options to the migration.