Skip to content

Instantly share code, notes, and snippets.

@bleonard
Created December 24, 2016 18:18
Show Gist options
  • Save bleonard/cc1400a81a1a1c15bb3e927359cf9843 to your computer and use it in GitHub Desktop.
Save bleonard/cc1400a81a1a1c15bb3e927359cf9843 to your computer and use it in GitHub Desktop.
initializer 'account.append_migrations' do |app|
unless app.root.to_s == root.to_s
config.paths["db/migrate"].expanded.each do |path|
app.config.paths["db/migrate"].push(path)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment