mirror of
https://github.com/kevin-DL/football_info_api.git
synced 2026-01-11 18:14:28 +00:00
33 lines
810 B
Go
33 lines
810 B
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package migrate
|
|
|
|
import (
|
|
"entgo.io/ent/dialect/sql/schema"
|
|
"entgo.io/ent/schema/field"
|
|
)
|
|
|
|
var (
|
|
// ProfilesColumns holds the columns for the "profiles" table.
|
|
ProfilesColumns = []*schema.Column{
|
|
{Name: "id", Type: field.TypeUUID},
|
|
{Name: "display_name", Type: field.TypeString},
|
|
{Name: "user_id", Type: field.TypeUUID, Unique: true},
|
|
{Name: "created_at", Type: field.TypeTime},
|
|
{Name: "updated_at", Type: field.TypeTime},
|
|
}
|
|
// ProfilesTable holds the schema information for the "profiles" table.
|
|
ProfilesTable = &schema.Table{
|
|
Name: "profiles",
|
|
Columns: ProfilesColumns,
|
|
PrimaryKey: []*schema.Column{ProfilesColumns[0]},
|
|
}
|
|
// Tables holds all the tables in the schema.
|
|
Tables = []*schema.Table{
|
|
ProfilesTable,
|
|
}
|
|
)
|
|
|
|
func init() {
|
|
}
|