Subject: | Typo in git commit f839d33b5268c9396dc7cbc6432143d2f4eb5ea1 |
Attached patch fixes a trailing comma causing invalid SQL on schema
deploy.
Subject: | typo_fix.diff |
diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
index 38e7123..cd4ad92 100644
--- a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
+++ b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
@@ -43,7 +43,7 @@ sub _system_schemas {
my %pg_rules = (
a => 'NO ACTION',
r => 'RESTRICT',
- c => 'CASCADE,',
+ c => 'CASCADE',
n => 'SET NULL',
d => 'SET DEFAULT',
);