File size: 844 Bytes
fea99b3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | // Code generated by ent, DO NOT EDIT.
package migrate
import (
"entgo.io/ent/dialect/sql/schema"
"entgo.io/ent/schema/field"
)
var (
// Example2sColumns holds the columns for the "example2s" table.
Example2sColumns = []*schema.Column{
{Name: "id", Type: field.TypeString, Unique: true},
{Name: "created_at", Type: field.TypeTime},
{Name: "updated_at", Type: field.TypeTime},
{Name: "deleted_at", Type: field.TypeTime, Nullable: true},
{Name: "example_value_2", Type: field.TypeString},
}
// Example2sTable holds the schema information for the "example2s" table.
Example2sTable = &schema.Table{
Name: "example2s",
Columns: Example2sColumns,
PrimaryKey: []*schema.Column{Example2sColumns[0]},
}
// Tables holds all the tables in the schema.
Tables = []*schema.Table{
Example2sTable,
}
)
func init() {
}
|