fixed object generation on nested objects
This commit is contained in:
@@ -40,6 +40,9 @@ const std::string& restriction::ref_column_name() const {
|
||||
|
||||
std::ostream & operator<<(std::ostream &os, const class restriction &c) {
|
||||
os << "constraint " << c.type_string() << " for column " << c.column_name();
|
||||
if (c.is_foreign_key_constraint()) {
|
||||
os << " references " << c.ref_table_name() << "." << c.ref_column_name();
|
||||
}
|
||||
return os;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user