Initial commit

This commit is contained in:
2023-07-02 15:26:53 +01:00
committed by GitHub
commit 16ca35eb45
42 changed files with 4536 additions and 0 deletions

32
ent/migrate/schema.go Normal file
View File

@@ -0,0 +1,32 @@
// 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() {
}