Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SchemaMigrations embed.FS
Functions ¶
func GetMigrationFiles ¶ added in v0.1.0
func GetMigrationFiles(dbType DatabaseType) ([]string, error)
GetMigrationFiles returns the appropriate migration files for the given database type
func ReadMigration ¶ added in v0.1.0
Types ¶
type DatabaseType ¶ added in v0.1.0
type DatabaseType string
const ( SQLite DatabaseType = "sqlite" Postgres DatabaseType = "postgres" )
Click to show internal directories.
Click to hide internal directories.