Created
April 15, 2009 15:09
-
-
Save methodmissing/95821 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def initialize(direction, migrations_path, target_version = nil) | |
| raise StandardError.new("This database does not yet support migrations") unless Base.connection.supports_migrations? | |
| Base.connection.initialize_schema_migrations_table | |
| @direction, @migrations_path, @target_version = direction, migrations_path, target_version | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment