foreign method
Specifies a foreign key constraint.
Implementation
ColumnDefinition foreign(String table, {String key = 'id'}) {
_foreignTable = table;
_foreignKey = key;
return this;
}
Specifies a foreign key constraint.
ColumnDefinition foreign(String table, {String key = 'id'}) {
_foreignTable = table;
_foreignKey = key;
return this;
}