migrations_model

package
v0.0.0-...-925651e Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Table = "migrations"

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	ID        uint          `gorm:"primarykey;auto_increment;not_null" json:"id"`
	Name      string        `gorm:"column:name"`
	Sequence  sql.NullInt16 `gorm:"column:sequence"`
	CreatedAt time.Time     `gorm:"column:created_at" json:"created_at"`
	UpdatedAt time.Time     `gorm:"column:updated_at" json:"updated_at"`
}

func (Model) TableName

func (Model) TableName() string

Jump to

Keyboard shortcuts

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