migration

package
v0.0.0-...-bc13906 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultMigrationOptions = &gormigrate.Options{
	TableName:      "migrations",
	IDColumnName:   "id",
	IDColumnSize:   255,
	UseTransaction: true,
}

DefaultMigrationOptions contains default options for the gormigrate package

Functions

func ExecMultiple

func ExecMultiple(tx *gorm.DB, sqls string) error

func Run

func Run(db *gorm.DB, migrations []*gormigrate.Migration)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL