feat: initial commit - kratos admin service
This commit is contained in:
Generated
+35
@@ -0,0 +1,35 @@
|
||||
// Code generated by ent, DO NOT EDIT.
|
||||
|
||||
package migrate
|
||||
|
||||
import (
|
||||
"entgo.io/ent/dialect/sql/schema"
|
||||
"entgo.io/ent/schema/field"
|
||||
)
|
||||
|
||||
var (
|
||||
// AdminsColumns holds the columns for the "admins" table.
|
||||
AdminsColumns = []*schema.Column{
|
||||
{Name: "id", Type: field.TypeInt64, Increment: true},
|
||||
{Name: "name", Type: field.TypeString, Default: ""},
|
||||
{Name: "email", Type: field.TypeString, Default: ""},
|
||||
{Name: "avatar", Type: field.TypeString, Default: ""},
|
||||
{Name: "access", Type: field.TypeString, Default: ""},
|
||||
{Name: "password", Type: field.TypeString, Default: ""},
|
||||
{Name: "create_time", Type: field.TypeTime},
|
||||
{Name: "update_time", Type: field.TypeTime},
|
||||
}
|
||||
// AdminsTable holds the schema information for the "admins" table.
|
||||
AdminsTable = &schema.Table{
|
||||
Name: "admins",
|
||||
Columns: AdminsColumns,
|
||||
PrimaryKey: []*schema.Column{AdminsColumns[0]},
|
||||
}
|
||||
// Tables holds all the tables in the schema.
|
||||
Tables = []*schema.Table{
|
||||
AdminsTable,
|
||||
}
|
||||
)
|
||||
|
||||
func init() {
|
||||
}
|
||||
Reference in New Issue
Block a user