mirror of
https://github.com/docusealco/docuseal.git
synced 2026-06-23 04:10:11 +00:00
6 lines
186 B
Ruby
6 lines
186 B
Ruby
# frozen_string_literal: true
|
|
|
|
Rails.configuration.to_prepare do
|
|
ActiveRecord::Tasks::DatabaseTasks.migrate if ENV['RAILS_ENV'] == 'production' && ENV['RUN_MIGRATIONS'] != 'false'
|
|
end
|