klefki/internal/db/ent/migrate/schema.go
Jared Allard eb74b6ea15
Some checks failed
tests / golangci-lint (push) Failing after 20s
tests / go test (push) Successful in 41s
support encryption
2025-03-01 10:10:47 -08:00

30 lines
741 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: "public_key", Type: field.TypeBytes},
{Name: "created_at", Type: field.TypeString, Default: "2025-03-01T18:10:35Z"},
}
// 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() {
}