-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strip schema name from ADD CONSTRAINT / CREATE INDEX
* Pg tablenames may have a schema prefix. This leads to invalid ADD CONSTRAINT / CREATE INDEX statments being generated by ->deploy(), since constraint and index names may not have a period in them. This patch strips the schema part from the table name when constructing unique index and constraint names. The fix was taken from ribasushi's email to the mailing list: http://lists.scsys.co.uk/pipermail/dbix-class/2013-February/011141.html
- Loading branch information
Showing
4 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters