migration

package
v0.0.0-...-4bcbab6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllForeignKeys

func AllForeignKeys() [][5]string

AllForeignKeys : All current foreign keys

func AllTables

func AllTables() []interface{}

AllTables : All current used tables

func Migrate

func Migrate(db *gorm.DB) error

Migrate : Migrate database version

func Migrations

func Migrations() []*gormigrate.Migration

Migrations : Return the migrations to be executed

Types

This section is empty.

Jump to

Keyboard shortcuts

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