on main help sign in
Added yet more quotes (#23)
7be33f7iko
src/migrations/add_foreign_key.rs+1−1
@@ -48,7 +48,7 @@ impl Action for AddForeignKey {
48 ALTER TABLE "{table}"
48 ALTER TABLE "{table}"
49 ADD CONSTRAINT {constraint_name}
49 ADD CONSTRAINT {constraint_name}
50 FOREIGN KEY ({columns})
50 FOREIGN KEY ({columns})
51− REFERENCES {referenced_table} ({referenced_columns})
51+ REFERENCES "{referenced_table}" ({referenced_columns})
52 NOT VALID
52 NOT VALID
53 "#,
53 "#,
54 table = table.real_name,
54 table = table.real_name,