mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-10 14:04:35 -04:00
raise migration error in development if pending migrations
This commit is contained in:
parent
fa830c8d69
commit
7cd8b4f329
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ Discourse::Application.configure do
|
|||
|
||||
config.assets.debug = true
|
||||
|
||||
# Raise an error on page load if there are pending migrations
|
||||
config.active_record.migration_error = :page_load
|
||||
config.watchable_dirs['lib'] = [:rb]
|
||||
|
||||
config.sass.debug_info = false
|
||||
|
|
Loading…
Add table
Reference in a new issue