| // Code generated by ent, DO NOT EDIT. | |
| package migrate | |
| import ( | |
| "entgo.io/ent/dialect/sql/schema" | |
| "entgo.io/ent/schema/field" | |
| ) | |
| var ( | |
| // Example2sColumns holds the columns for the "example2s" table. | |
| Example2sColumns = []*schema.Column{ | |
| {Name: "id", Type: field.TypeString, Unique: true}, | |
| {Name: "created_at", Type: field.TypeTime}, | |
| {Name: "updated_at", Type: field.TypeTime}, | |
| {Name: "deleted_at", Type: field.TypeTime, Nullable: true}, | |
| {Name: "example_value_2", Type: field.TypeString}, | |
| } | |
| // Example2sTable holds the schema information for the "example2s" table. | |
| Example2sTable = &schema.Table{ | |
| Name: "example2s", | |
| Columns: Example2sColumns, | |
| PrimaryKey: []*schema.Column{Example2sColumns[0]}, | |
| } | |
| // Tables holds all the tables in the schema. | |
| Tables = []*schema.Table{ | |
| Example2sTable, | |
| } | |
| ) | |
| func init() { | |
| } | |