toSQL<T extends SqlType> method
Generates the SQL foreign key constraint definition.
Returns a complete MySQL foreign key constraint statement.
Implementation
@override
String toSQL<T extends SqlType>() {
return 'FOREIGN KEY (`$name`) REFERENCES `$refTable`(`$refColumn`) ON DELETE $onDelete ON UPDATE $onUpdate';
}