migrations

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigratePostgres

func MigratePostgres(db *sql.DB)

func MigrateSqlite

func MigrateSqlite(db *sql.DB)

Types

type MigrationProvider

type MigrationProvider interface {
	Schema(*sql.DB) int
	V1(*sql.Tx)
	V2(*sql.Tx)
	V3(*sql.Tx)
	V4(*sql.Tx)
	V5(*sql.Tx)
	V6(*sql.Tx)
	V7(*sql.Tx)
	V8(*sql.Tx)
	V9(*sql.Tx)
	V10(*sql.Tx)
	V11(*sql.Tx)
	V12(*sql.Tx)
	V13(*sql.Tx)
	V14(*sql.Tx)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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