// Code generated by ent, DO NOT EDIT. package migrate import ( "entgo.io/ent/dialect/sql/schema" "entgo.io/ent/schema/field" ) var ( // UserVerificationsColumns holds the columns for the "user_verifications" table. UserVerificationsColumns = []*schema.Column{ {Name: "id", Type: field.TypeInt64, Increment: true}, {Name: "user_id", Type: field.TypeInt64, Unique: true}, {Name: "role", Type: field.TypeString}, {Name: "status", Type: field.TypeString, Default: "pending"}, {Name: "materials", Type: field.TypeJSON}, {Name: "reject_reason", Type: field.TypeString, Nullable: true}, {Name: "reviewed_by", Type: field.TypeInt64, Nullable: true}, {Name: "reviewed_at", Type: field.TypeTime, Nullable: true}, {Name: "created_at", Type: field.TypeTime, Nullable: true}, {Name: "updated_at", Type: field.TypeTime, Nullable: true}, } // UserVerificationsTable holds the schema information for the "user_verifications" table. UserVerificationsTable = &schema.Table{ Name: "user_verifications", Columns: UserVerificationsColumns, PrimaryKey: []*schema.Column{UserVerificationsColumns[0]}, } // Tables holds all the tables in the schema. Tables = []*schema.Table{ UserVerificationsTable, } ) func init() { }