package
0.0.0-20211115074926-5136324f2adf
Repository: https://github.com/funfun/entgo-example.git
Documentation: pkg.go.dev
# Functions
NewSchema creates a new schema client.
# Variables
BooksColumns holds the columns for the "books" table.
BooksTable holds the schema information for the "books" table.
PersonsColumns holds the columns for the "persons" table.
PersonsTable holds the schema information for the "persons" table.
PlayersColumns holds the columns for the "players" table.
PlayersTable holds the schema information for the "players" 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.
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.