Files
football_info_api/ent/migrate/schema.go
2023-07-02 15:26:53 +01:00

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() {
}