klefki/internal/db/ent/migrate/schema.go
Jared Allard cb20155b1e
Some checks failed
tests / go test (push) Successful in 17s
tests / golangci-lint (push) Failing after 17s
pull out client reduce replay attack surface
2025-03-06 20:33:19 -08:00

31 lines
797 B
Go
Generated

// Code generated by ent, DO NOT EDIT.
package migrate
import (
"entgo.io/ent/dialect/sql/schema"
"entgo.io/ent/schema/field"
)
var (
// MachinesColumns holds the columns for the "machines" table.
MachinesColumns = []*schema.Column{
{Name: "id", Type: field.TypeString},
{Name: "name", Type: field.TypeString, Unique: true},
{Name: "public_key", Type: field.TypeBytes},
{Name: "created_at", Type: field.TypeString, Default: "2025-03-01T23:41:53Z"},
}
// MachinesTable holds the schema information for the "machines" table.
MachinesTable = &schema.Table{
Name: "machines",
Columns: MachinesColumns,
PrimaryKey: []*schema.Column{MachinesColumns[0]},
}
// Tables holds all the tables in the schema.
Tables = []*schema.Table{
MachinesTable,
}
)
func init() {
}