Sha256: 82ead240f548a70467e9a09f40a37a9807bae2cfe4fef5071673655ecf424a2d

Contents?: true

Size: 871 Bytes

Versions: 30

Compression:

Stored size: 871 Bytes

Contents

# Mark existing migrations as safe
StrongMigrations.start_after = <%= start_after %>

# Set timeouts for migrations<%= pgbouncer_message %>
StrongMigrations.lock_timeout = 10.seconds
StrongMigrations.statement_timeout = 1.hour

# Analyze tables after indexes are added
# Outdated statistics can sometimes hurt performance
StrongMigrations.auto_analyze = true

# Set the version of the production database
# so the right checks are run in development
# StrongMigrations.target_version = <%= target_version %>

# Add custom checks
# StrongMigrations.add_check do |method, args|
#   if method == :add_index && args[0].to_s == "users"
#     stop! "No more indexes on the users table"
#   end
# end<% if postgresql? %>

# Make some operations safe by default
# See https://github.com/ankane/strong_migrations#safe-by-default
# StrongMigrations.safe_by_default = true<% end %>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
strong_migrations-2.1.0 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-2.0.2 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-2.0.1 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-2.0.0 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.8.0 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.7.0 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.6.4 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.6.3 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.6.2 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.6.1 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.6.0 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.5.0 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.4.4 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.4.3 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.4.2 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.4.1 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.4.0 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.3.2 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.3.1 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-1.3.0 lib/generators/strong_migrations/templates/initializer.rb.tt