compileReference static method
Implementation
static String compileReference(MigrationColumnReference ref) {
var buf = StringBuffer(
'REFERENCES ${sql.quotePostgresTableName(ref.foreignTable)}(${sql.quotePostgresIdentifier(ref.foreignKey)})',
);
if (ref.behavior != null) buf.write(' ${ref.behavior!}');
return buf.toString();
}