renamed column to table_column and constraint to table_constraint.
This commit is contained in:
@@ -68,7 +68,7 @@ TEST_CASE("Generate columns for object with has many relation", "[column][genera
|
||||
|
||||
const auto order_table = table("order");
|
||||
const auto order_details_table = table("order_details");
|
||||
const std::vector<column> expected_columns = {
|
||||
const std::vector<table_column> expected_columns = {
|
||||
{ &order_table, "order_id", "c01" },
|
||||
{ &order_table, "order_date", "c02" },
|
||||
{ &order_table, "required_date", "c03" },
|
||||
@@ -106,7 +106,7 @@ TEST_CASE("Generate columns for object with eager foreign key relation", "[colum
|
||||
|
||||
const auto books_table = table("books");
|
||||
const auto authors_table = table("authors");
|
||||
const std::vector<column> expected_columns {
|
||||
const std::vector<table_column> expected_columns {
|
||||
{ &books_table, "id", "c01" },
|
||||
{ &books_table, "title", "c02" },
|
||||
{ &authors_table, "id", "c03" },
|
||||
|
||||
Reference in New Issue
Block a user