|
|
@ -60,7 +60,7 @@ module OpenProject::GlobalRoles |
|
|
|
app.routes_reloader.paths.uniq! |
|
|
|
app.routes_reloader.paths.uniq! |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
initializer :append_migrations do |app| |
|
|
|
initializer 'global_roles.append_migrations' do |app| |
|
|
|
unless app.root.to_s.match root.to_s |
|
|
|
unless app.root.to_s.match root.to_s |
|
|
|
config.paths["db/migrate"].expanded.each do |expanded_path| |
|
|
|
config.paths["db/migrate"].expanded.each do |expanded_path| |
|
|
|
app.config.paths["db/migrate"] << expanded_path |
|
|
|
app.config.paths["db/migrate"] << expanded_path |
|
|
|