package
0.1.10
Repository: https://github.com/usalko/fluent.git
Documentation: pkg.go.dev

# Functions

CopyTables returns a deep-copy of the given tables.
Diff compares the state read from a database connection or migration directory with the state defined by the Ent schema.
DisableChecksum instructs atlas to skip migration directory integrity sum file generation.
NewInspect returns an inspector for the given SQL driver.
NewMigrate creates a new Atlas form the given dialect.Driver.
NewMigrateURL create a new Atlas from the given url.
NewTable returns a new table with the given name.
NewTypesTable returns a new table for holding the global-id information.
NewView returns a new view with the given name.
NewWriteDriver creates a dialect.Driver that writes all driver exec statement to its writer.
WithApplyHook adds a list of ApplyHook to the schema migration.
WithAtlas is an opt-out option for v0.11 indicating the migration should be executed using the deprecated legacy engine.
WithDialect configures the Ent dialect to use when migrating for an Atlas supported dialect flavor.
WithDiffHook adds a list of DiffHook to the schema migration.
WithDiffOptions adds a list of options to pass to the diff engine.
WithDir sets the atlas migration directory to use to store migration files.
WithDropColumn sets the columns dropping option to the migration.
WithDropIndex sets the indexes dropping option to the migration.
WithErrNoPlan sets Atlas to returns a migrate.ErrNoPlan in case the migration plan is empty.
WithFixture sets the foreign-key renaming option to the migration when upgrading sqlDialect from v0.1.0 (issue-#285).
WithForeignKeys enables creating foreign-key in ddl.
WithFormatter sets atlas formatter to use to write changes to migration files.
WithGlobalUniqueID sets the universal ids options to the migration.
WithHooks adds a list of hooks to the schema migration.
WithIndent sets Atlas to generate SQL statements with indentation.
WithMigrationMode instructs atlas how to compute the current state of the schema.
WithSchema provides a schema (named-database) for reading the tables from.
WithSkipChanges allows skipping/filtering list of changes returned by the Differ before executing migration planning.
WithSumFile instructs atlas to generate a migration directory integrity sum file.

# Constants

List of change types.
List of change types.
List of change types.
List of change types.
List of change types.
List of change types.
Reference options.
DefaultStringLen describes the default length for string/varchar types.
List of change types.
List of change types.
List of change types.
List of change types.
List of change types.
List of change types.
MaxTypes defines the max number of types can be created when defining universal ids.
ModeInspect computes the current state by inspecting the connected database.
ModeReplay computes the current state by replaying the migration directory on the connected database.
List of change types.
List of change types.
List of change types.
List of change types.
List of change types.
List of change types.
Reference options.
List of change types.
Null is the string representation of NULL in SQL.
PrimaryKey is the string representation of PKs in SQL.
Reference options.
Reference options.
Reference options.
TypeTable defines the table name holding the type information.
UniqueKey is the string representation of PKs in SQL.

# Structs

Atlas atlas migration engine.
Column schema definition for SQL dialects.
No description provided by the author
ForeignKey definition for creation.
Index definition for table index.
An Inspector provides methods for inspecting database tables.
Migrate runs the migration logic for the SQL dialects.
MySQL is a MySQL migration driver.
Postgres is a postgres migration driver.
No description provided by the author
No description provided by the author
Table schema definition for SQL dialects.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
A ChangeKind denotes the kind of schema change.
No description provided by the author
No description provided by the author
No description provided by the author
Expr represents a raw expression.
No description provided by the author
Indexes used for scanning all sql.Rows into a list of indexes, because multiple sql rows can represent the same index (multi-columns indexes).
InspectOption allows for managing schema configuration using functional options.
MigrateOption allows configuring Atlas using functional arguments.
Mode to compute the current state.
ReferenceOption for constraint actions.