-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
20 lines (11 loc) · 709 Bytes
/
README
File metadata and controls
20 lines (11 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
MoreMigrationPaths
==================
This plugin adds the possibility to add more migration paths to rails. This is helpful if you want to split your migrations in multiple directories. You could have migrations in plugins or gems for example.
Usage
=====
Install with:
script/plugin install git://github.com/helle/more_migration_paths.git
After that just add something like this to an initializer:
ActiveRecord::Migrator.add_migration_path(File.join(RAILS_ROOT, 'lib', 'extra_migrations'))
The next time you do a db:migrate, your migrations in RAILS_ROOT/lib/extra_migrations will automatically be found and migrated.
Copyright (c) 2009 Andreas Gerauer @ Kupferwerk, released under the MIT license