Sha256: 46f7bb9372e72e4f610fbb4ebcd9e65fca3ef9c5e1a35e40b670ed4ea642cd17

Contents?: true

Size: 771 Bytes

Versions: 3

Compression:

Stored size: 771 Bytes

Contents

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

# Set timeouts for migrations
# If you use PgBouncer in transaction mode, delete these lines and set timeouts on the database user
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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
strong_migrations-0.7.3 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-0.7.2 lib/generators/strong_migrations/templates/initializer.rb.tt
strong_migrations-0.7.1 lib/generators/strong_migrations/templates/initializer.rb.tt