Skip to content

Commit f1803da

Browse files
committed
Add rails config
in case someone wants to override the default appender & customize spacing
1 parent 03c6fac commit f1803da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/activerecord-pg-format-db-structure/railtie.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class Railtie < Rails::Railtie
66
config.activerecord_pg_format_db_structure = ActiveSupport::OrderedOptions.new
77
config.activerecord_pg_format_db_structure.transforms = DEFAULT_TRANSFORMS.dup
88
config.activerecord_pg_format_db_structure.deparser = DEFAULT_DEPARSER
9+
config.activerecord_pg_format_db_structure.statement_appender = DEFAULT_STATEMENT_APPENDER
910

1011
rake_tasks do
1112
load "activerecord-pg-format-db-structure/tasks/clean_db_structure.rake"

0 commit comments

Comments
 (0)