package
0.0.0-20220930040048-64c639fd083e
Repository: https://github.com/npoolplatform/oracle-manager.git
Documentation: pkg.go.dev

# Functions

NewSchema creates a new schema client.

# Variables

CurrenciesColumns holds the columns for the "currencies" table.
CurrenciesTable holds the schema information for the "currencies" table.
RewardsColumns holds the columns for the "rewards" table.
RewardsTable holds the schema information for the "rewards" 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.

# Structs

Schema is the API for creating, migrating and dropping a schema.