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 8ad7f41 commit 1e6ab0dCopy full SHA for 1e6ab0d
lib/activerecord-pg-format-db-structure/preprocessors/remove_restrict_pragmas.rb
@@ -4,6 +4,8 @@
4
5
module ActiveRecordPgFormatDbStructure
6
module Preprocessors
7
+ # Remove \restrict and \unrestrict pragmas added by newer versions
8
+ # of pg_dump
9
class RemoveRestrictPragmas < Base
10
def preprocess!
11
source.gsub!(/^(\\restrict .*)$/, "")
0 commit comments