Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moving verbosity tests to the migrator test, removing ddl changes | Aaron Patterson | 2012-01-16 | 1 | -2/+1 |
| | |||||
* | silencing migrator tests, refactoring the migration test helper | Aaron Patterson | 2012-01-16 | 1 | -1/+2 |
| | |||||
* | refactor schema migration table creation to the schema migration model | Aaron Patterson | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | convert the migration list to a Set, remove duplicate code | Aaron Patterson | 2012-01-13 | 1 | -16/+14 |
| | |||||
* | deprecate the block argument to Migrator#migrate | Aaron Patterson | 2012-01-13 | 1 | -8/+19 |
| | |||||
* | refactor the migrate method to filter migrations before running them | Aaron Patterson | 2012-01-13 | 1 | -25/+32 |
| | |||||
* | use the model to delete records | Aaron Patterson | 2012-01-13 | 1 | -4/+1 |
| | |||||
* | use the schema migration model to create a new record | Aaron Patterson | 2012-01-13 | 1 | -2/+1 |
| | |||||
* | moving migrator tests to a migrator test class | Aaron Patterson | 2012-01-13 | 1 | -38/+41 |
| | |||||
* | add a migration schema model | Aaron Patterson | 2012-01-13 | 1 | -3/+3 |
| | |||||
* | construct a migrator with a list of migrations rather than a list of paths | Aaron Patterson | 2012-01-13 | 1 | -18/+29 |
| | |||||
* | move column ordering tests to it's own class | Aaron Patterson | 2012-01-10 | 1 | -10/+2 |
| | |||||
* | deprecate the subdirectories parameter to `migrations` | Aaron Patterson | 2012-01-10 | 1 | -2/+10 |
| | |||||
* | migrate(:down) method with table_name_prefix | kennyj | 2012-01-11 | 1 | -6/+22 |
| | |||||
* | Remove Array.wrap calls in ActiveRecord | Rafael Mendonça França | 2012-01-06 | 1 | -3/+2 |
| | |||||
* | Allow to filter migrations by passing a block | Piotr Sarnacki | 2011-12-09 | 1 | -9/+13 |
| | | | | | | | | | | Example: ActiveRecord::Migrator.migrate(path) do |migration| migration.name =~ /User/ end The above example will migrate only migrations with User in the name | ||||
* | Compare migrations for copying only by name and scope | Piotr Sarnacki | 2011-12-09 | 1 | -22/+6 |
| | |||||
* | Add suffix for migrations copied from engines | Piotr Sarnacki | 2011-12-09 | 1 | -5/+5 |
| | |||||
* | String#to_a is not available in 1.9 | Piotr Sarnacki | 2011-12-09 | 1 | -1/+1 |
| | |||||
* | Run also migrations in subdirectories. | Piotr Sarnacki | 2011-12-09 | 1 | -2/+3 |
| | | | | | With this commit, ActiveRecord will also look for migrations in db/migrate subdirectories. | ||||
* | Ignore origin comment when checking for duplicates on Migration.copy | Piotr Sarnacki | 2011-12-09 | 1 | -2/+20 |
| | | | | | | | 49ebe51 fixed copying migrations, but existing migrations would still trigger warnings. The proper way to compare migrations is to ignore origin lines - if migration is identical it means that we can silently skip it, regardless where it comes from. | ||||
* | Fix copying migrations from engines | Piotr Sarnacki | 2011-12-09 | 1 | -3/+3 |
| | | | | | | | | | | There was a bug in ActiveRecord::Migration.copy method, which prevented adding special comment about the origin of migration. Because of that, the check if migration is identical or if it's not and should be skipped was always saying that migration is skipped, which was causing additional useless warnings about skipped migrations. | ||||
* | reversible migration example had missing block parameter | Evgeniy Kelyarsky | 2011-12-07 | 1 | -1/+1 |
| | |||||
* | add prefix and suffix to renamed tables, closes #1510 | Vasiliy Ermolovich | 2011-12-06 | 1 | -0/+1 |
| | |||||
* | document fix: remove_column takes multiple column_names | Akira Matsuda | 2011-11-07 | 1 | -2/+2 |
| | |||||
* | AR changes to support creating ordered (asc, desc) indexes | Vlad Jebelev | 2011-11-04 | 1 | -2/+3 |
| | |||||
* | Make it the responsibility of the connection to hold onto an ARel visitor ↵ | Jon Leighton | 2011-08-08 | 1 | -3/+3 |
| | | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. | ||||
* | add a migrate class method and delegate to the new instance | Aaron Patterson | 2011-08-02 | 1 | -1/+4 |
| | |||||
* | Support backwards compatible interface for migration down/up with rails 3.0.x. | Christopher Meiklejohn | 2011-08-02 | 1 | -0/+1 |
| | |||||
* | Explicitly require Active Support dependencies | Norman Clarke | 2011-07-19 | 1 | -0/+2 |
| | | | | | | | | | | | | This fixes errors when using Active Record outside of Rails. In Rails, these files are required by other classes that are always loaded, so this error does not happen. Without core_ext/module/delegation, a NoMethodError is raised because `delegate` remains undefined. Without core_ext/class/attribute_acessors, an ArgumentError is raised because `delegate` does not receive a value for its :to option. | ||||
* | minor changes | Vijay Dev | 2011-06-27 | 1 | -2/+2 |
| | |||||
* | replace find(all) with all | Vijay Dev | 2011-06-26 | 1 | -3/+3 |
| | |||||
* | Update remove_index documentation | Lucia Escanellas | 2011-06-17 | 1 | -2/+4 |
| | | | | | * Changes should better reflect present code behavior * Related to issue: https://github.com/rails/rails/issues/1624 | ||||
* | up and down are no longer class methods in a migration | Vijay Dev | 2011-06-07 | 1 | -1/+1 |
| | |||||
* | require core_ext/array/wrap in active_record/migration | Piotr Sarnacki | 2010-12-10 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use Array.wrap instead of using ternary | Piotr Sarnacki | 2010-12-09 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Allow to run migrations from more than one directory | Piotr Sarnacki | 2010-12-09 | 1 | -24/+33 |
| | |||||
* | in the middle of refactoring | Aaron Patterson | 2010-12-03 | 1 | -0/+4 |
| | |||||
* | remove calls to deprecated methods | Aaron Patterson | 2010-12-02 | 1 | -1/+2 |
| | |||||
* | avoiding deprecated methods in arel | Aaron Patterson | 2010-12-02 | 1 | -1/+2 |
| | |||||
* | rolling out migrated_at until I can fix the build | Aaron Patterson | 2010-12-01 | 1 | -11/+7 |
| | |||||
* | name in schema_migrations, migrations in schema dump | Josh Susser | 2010-12-01 | 1 | -0/+1 |
| | |||||
* | record migration timestamp when migrations run | Josh Susser | 2010-12-01 | 1 | -7/+10 |
| | |||||
* | adding documentation for reversible migrations | Aaron Patterson | 2010-11-19 | 1 | -0/+32 |
| | |||||
* | invertable migrations are working | Aaron Patterson | 2010-11-19 | 1 | -1/+19 |
| | |||||
* | partial implementation of the command recorder | Aaron Patterson | 2010-11-19 | 1 | -0/+2 |
| | |||||
* | this return value is not used, so stop returning it | Aaron Patterson | 2010-11-19 | 1 | -4/+1 |
| | |||||
* | instantiate the delegate object after initialize is defined so that our ↵ | Aaron Patterson | 2010-11-19 | 1 | -3/+4 |
| | | | | initialize method actually gets called | ||||
* | connection is set from the connection pool during migrations | Aaron Patterson | 2010-11-18 | 1 | -4/+10 |
| | |||||
* | adding an initialize with name and version defaults | Aaron Patterson | 2010-11-17 | 1 | -4/+5 |
| |