Open matthewmueller opened 4 years ago
// Table provides meta information about the "posts" table var Table = sql.Table{ Name: "posts", Columns: sql.Columns{ { Order: 1, Name: "id", Type: "int", NotNull: true, }, { Order: 2, Name: "title", Type: "text", NotNull: false, }, }, Primary: &sql.Primary{ Name: "posts_pkey", Columns: sql.Columns{ { Order: 1, Name: "id", Type: "int", NotNull: true, }, }, }, }