mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 10:42:38 +00:00
We have been duplicating the config loader migration. Hence let's hook it to rake db:migrate.
6 lines
188 B
Ruby
6 lines
188 B
Ruby
# We are hooking config loader to run automatically everytime migration is executed
|
|
Rake::Task['db:migrate'].enhance do
|
|
puts 'Loading Installation config'
|
|
ConfigLoader.new.process
|
|
end
|