db_builder

package
v0.0.0-...-374d589 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbMigrator

type DbMigrator interface {
	Create()
	CreateTables()
	CreateConstraints()
	// contains filtered or unexported methods
}

type DbMigratorPostgres

type DbMigratorPostgres struct {
	// contains filtered or unexported fields
}

func CreateDbMigratorPostgres

func CreateDbMigratorPostgres(db *gorm.DB) DbMigratorPostgres

func (DbMigratorPostgres) Create

func (migrator DbMigratorPostgres) Create()

func (DbMigratorPostgres) CreateConstraints

func (migrator DbMigratorPostgres) CreateConstraints()

func (DbMigratorPostgres) CreateTables

func (migrator DbMigratorPostgres) CreateTables()

Jump to

Keyboard shortcuts

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