alter_drop_constraint drop constraint, not index
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Generator / DDL / PostgreSQL.pm
index b3cc1b8..109eb3c 100644 (file)
@@ -10,9 +10,14 @@ engine.
 I<documentation volunteers needed>
 
 =cut
+
 use Moo;
 
-has quote_chars => (is => 'rw', default => sub { +[qw(" ")] } );
+has quote_chars => (
+  is => 'rw',
+  default => sub { +[qw(" ")] },
+  trigger => sub { $_[0]->clear_escape_char },
+);
 
 with 'SQL::Translator::Generator::Role::Quote';