gorm-migrate to fails wrap foreign key references in quotes that reference a schema.
Example;
This fails
CONSTRAINT fk_auxstream.track_sources_track_id_fkey
FOREIGN KEY ("track_id")
REFERENCES "auxstream.tracks"(id)
ON DELETE CASCADE
);
It should qoute the foreign key
CONSTRAINT "fk_auxstream.track_sources_track_id_fkey"
FOREIGN KEY ("track_id")
REFERENCES "auxstream.tracks"(id)
ON DELETE CASCADE
);`
gorm-migrate to fails wrap foreign key references in quotes that reference a schema.
Example;
This fails
It should qoute the foreign key