package
0.2.1
Repository: https://github.com/go-niom/niom.git
Documentation: pkg.go.dev

# Functions

Create is the parent func of CreateWithPath Checks migration path in the args if not then set db/migrations/ as default.
CreateSample create blogs migration sample `niom migration -s` invokes this function `niom migration -s seed` may be used generate insert statement.
CreateWithPath creates migration file with give fileName and filePath It also accept up and down scripts to add into file while creating it.
Down rollback the latest migration `niom migration down` may used to invoke this function.
GetDB returns db instance.
Status fetch the migration details from the db `niom migration status` invokes this function.
Up migrates the migrations files `niom migration up` may used to invoke this function.

# Structs

DB holds the database.
MigrationScheme holds migration rows details.