package
0.0.2
Repository: https://github.com/env-io/orm.git
Documentation: pkg.go.dev

# Functions

Refresh first Reset, then Upgrade.
Register register the Migration in the map.
Reset reset all migration run all migration's down function.
Rollback rollback the migration by the name.
Upgrade upgrade the migration from lasttime.

# Constants

const the data format for the bee generate migration datatype.
const the data format for the bee generate migration datatype.

# Structs

Column struct defines a single column of a table.
Foreign struct defines a single foreign relationship.
Index struct defines the structure of Index Columns.
Migration defines the migrations by either SQL or DDL.
RenameColumn struct allows renaming of columns.
Unique struct defines a single unique key combination.

# Interfaces

Migrationer is an interface for all Migration struct.