// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================

package entity

import (
	"github.com/gogf/gf/v2/os/gtime"
)

// V1Migrations is the golang structure for table v1migrations.
type V1Migrations struct {
	IdMigration        uint        `json:"idMigration"        orm:"id_migration"        description:"surrogate key"`
	Name               string      `json:"name"               orm:"name"                description:"migration name, unique"`
	CreatedAt          *gtime.Time `json:"createdAt"          orm:"created_at"          description:"date migrated or rolled back"`
	Statements         string      `json:"statements"         orm:"statements"          description:"SQL statements for this migration"`
	RollbackStatements string      `json:"rollbackStatements" orm:"rollback_statements" description:"SQL statment for rolling back migration"`
	Status             string      `json:"status"             orm:"status"              description:"update indicates it is a normal migration while rollback means this migration is rolled back"`
}
