Skip to content

Commit 1e6ab0d

Browse files
committed
Fix: add documentation to please rubocop
1 parent 8ad7f41 commit 1e6ab0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/activerecord-pg-format-db-structure/preprocessors/remove_restrict_pragmas.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
module ActiveRecordPgFormatDbStructure
66
module Preprocessors
7+
# Remove \restrict and \unrestrict pragmas added by newer versions
8+
# of pg_dump
79
class RemoveRestrictPragmas < Base
810
def preprocess!
911
source.gsub!(/^(\\restrict .*)$/, "")

0 commit comments

Comments
 (0)