We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab96289 commit 0c65e36Copy full SHA for 0c65e36
config/initializers/apartment-postgres-patch.rb
@@ -0,0 +1,6 @@
1
+# See https://github.com/rails-on-services/apartment/issues/322
2
+
3
+require "apartment/adapters/postgresql_adapter"
4
5
+Apartment::Adapters::PostgresqlSchemaFromSqlAdapter::PSQL_DUMP_BLACKLISTED_STATEMENTS =
6
+ (Apartment::Adapters::PostgresqlSchemaFromSqlAdapter::PSQL_DUMP_BLACKLISTED_STATEMENTS + [/\\restrict/i, /\\unrestrict/i]).freeze
0 commit comments