preparations for object_generator (generating objects with attributes and constraints)
This commit is contained in:
@@ -101,11 +101,11 @@ bool field::is_null() const
|
||||
}
|
||||
|
||||
bool field::is_primary_key() const {
|
||||
return type_ == utils::constraints::PRIMARY_KEY;
|
||||
return type_ == utils::constraints::PrimaryKey;
|
||||
}
|
||||
|
||||
bool field::is_foreign_key() const {
|
||||
return type_ == utils::constraints::FOREIGN_KEY;
|
||||
return type_ == utils::constraints::ForeignKey;
|
||||
}
|
||||
|
||||
bool field::is_attribute() const {
|
||||
|
||||
Reference in New Issue
Block a user