Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix test on finding migrations from 2 paths | Piotr Sarnacki | 2010-12-09 | 1 | -5/+7 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Allow to run migrations from more than one directory | Piotr Sarnacki | 2010-12-09 | 1 | -0/+12 | |
| | ||||||
* | removing unused setup | Aaron Patterson | 2010-12-03 | 1 | -4/+0 | |
| | ||||||
* | in the middle of refactoring | Aaron Patterson | 2010-12-03 | 1 | -50/+30 | |
| | ||||||
* | rolling out migrated_at until I can fix the build | Aaron Patterson | 2010-12-01 | 1 | -45/+7 | |
| | ||||||
* | removing duplicate test | Aaron Patterson | 2010-12-01 | 1 | -37/+0 | |
| | ||||||
* | make sure we have a value in migrated_at | Aaron Patterson | 2010-12-01 | 1 | -1/+1 | |
| | ||||||
* | not all databases return dates as strings | Aaron Patterson | 2010-12-01 | 1 | -1/+1 | |
| | ||||||
* | name in schema_migrations, migrations in schema dump | Josh Susser | 2010-12-01 | 1 | -8/+12 | |
| | ||||||
* | record migration timestamp when migrations run | Josh Susser | 2010-12-01 | 1 | -1/+48 | |
| | ||||||
* | Add migrated_at column to schema_migrations table. | Josh Susser | 2010-12-01 | 1 | -6/+30 | |
| | ||||||
* | testing instance based migrations | Aaron Patterson | 2010-11-17 | 1 | -0/+38 | |
| | ||||||
* | schema migrations work as instances | Aaron Patterson | 2010-11-17 | 1 | -0/+1 | |
| | ||||||
* | converted migrations to support instance methods | Aaron Patterson | 2010-11-17 | 1 | -4/+4 | |
| | ||||||
* | fixing assertions so error messages will be more helpful | Aaron Patterson | 2010-11-17 | 1 | -4/+4 | |
| | ||||||
* | removing many unused variables | Aaron Patterson | 2010-11-16 | 1 | -5/+5 | |
| | ||||||
* | Create directory before copying migrations if it does not exist | Piotr Sarnacki | 2010-11-16 | 1 | -0/+15 | |
| | ||||||
* | Fix SQLite adapter name [#5842 state:resolved] | Anil Wadghule | 2010-10-19 | 1 | -4/+4 | |
| | ||||||
* | Add callback on skipped migration while copying migrations | Piotr Sarnacki | 2010-10-09 | 1 | -2/+20 | |
| | ||||||
* | Change the method for copying migrations, do not add scope. | Piotr Sarnacki | 2010-10-09 | 1 | -21/+23 | |
| | | | | | | | The purpose of this change is to allow copying fail on the same names. Migrations change database and they should be treated with caution, if 2 migrations are named the same it's much better to skip migration and allow user decide if it should be copied or not. | |||||
* | eliminating method_missing on TableDefinition | Aaron Patterson | 2010-09-29 | 1 | -2/+12 | |
| | ||||||
* | Test add_index and remove_index with a symbol name #4891 | Étienne Barrié | 2010-09-28 | 1 | -0/+7 | |
| | ||||||
* | Fix remove_index issue when provided :name is a symbol | Tim Connor | 2010-09-26 | 1 | -1/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Fix issue with remove_index and add unit test [#5645 state:resolved] | Tim Connor | 2010-09-18 | 1 | -3/+4 | |
| | ||||||
* | Fix copying migrations to empty directory | Piotr Sarnacki | 2010-09-03 | 1 | -0/+14 | |
| | ||||||
* | Implemented ActiveRecord::Migrations#copy based on James Adam's idea | Piotr Sarnacki | 2010-09-03 | 1 | -0/+111 | |
| | | | | | | | | | | | | | | | ActiveRecord::Migration#copy allows to copy migrations from one place to another, changing migrations versions and adding scope to filename. For example: ActiveRecord::Migration.copy("db/migrate", :blog_engine => "vendor/gems/blog/db/migrate") will copy all migrations from vendor/gems/blog/db/migrate to db/migrate with such format: Versions of copied migrations will be reversioned to be appended after migrations that already exists in db/migrate | |||||
* | reload bob after his journy to a new timezone | Brian Lopez | 2010-08-20 | 1 | -0/+1 | |
| | ||||||
* | Makes topics.written_on null => true back again some tests rely on that | Santiago Pastorino | 2010-08-15 | 1 | -0/+3 | |
| | ||||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -2/+2 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | update tests for mysql2 support | Brian Lopez | 2010-08-02 | 1 | -6/+6 | |
| | ||||||
* | Tests to specify the behaviour of ActiveRecord::Migrator.get_all_versions() ↵ | Thiago Pradi | 2010-07-08 | 1 | -0/+14 | |
| | | | | | | [#5066 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Test that adding an index also doesn't raise an exception. | J. Pablo Fernández | 2010-06-29 | 1 | -1/+1 | |
| | | | | | | [#4809 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Replaced statement in comment with an assertion | Paul Barry | 2010-06-29 | 1 | -2/+3 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fixed error when removing an index from a table name values, which is a ↵ | J. Pablo Fernández | 2010-06-29 | 1 | -0/+16 | |
| | | | | | | reserved word, with test. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Add column and index query methods to ActiveRecord::Schema | Andrew White | 2010-06-26 | 1 | -4/+104 | |
| | | | | | | [#4219 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | remove_column should raise an ArgumentError when no columns are passed ↵ | Jeff Dean | 2010-06-23 | 1 | -0/+4 | |
| | | | | | | [#4803 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | use assert_in_delta() for floating point comparisons in tests [#4871 ↵ | Aaron Patterson | 2010-06-16 | 1 | -1/+1 | |
| | | | | | | state:resolved] Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | SQLite2Adapter doesn't exist | Santiago Pastorino | 2010-06-09 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | test fixes for Oracle enhanced adapter: | Raimonds Simanovskis | 2010-06-04 | 1 | -2/+2 | |
| | | | | | latest oracle_enhanced adapter does automatic shortening of index names ignore select from all_triggers table in assert_queries | |||||
* | Oracle enhanced adapter now supports shortening of default generated index ↵ | Raimonds Simanovskis | 2010-06-04 | 1 | -12/+10 | |
| | | | | names, some additional tests now pass | |||||
* | Reduced size of table name prefix and suffix in migrations test as in Oracle ↵ | Raimonds Simanovskis | 2010-06-04 | 1 | -3/+4 | |
| | | | | identifier name cannot be larger than 30 characters | |||||
* | Final iteration of use better testing methods | Neeraj Singh | 2010-05-19 | 1 | -1/+1 | |
| | | | | | | [#4652 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Revert "Don't carry default value when changing column for a binary type on ↵ | Jeremy Kemper | 2010-05-18 | 1 | -12/+0 | |
| | | | | | | | | | | | | | | MySQL" Broke mysql tests. This reverts commit edec1afe25014749f0e2df86d27477b45586a9e3. Conflicts: activerecord/test/cases/migration_test.rb [#3234 state:open] | |||||
* | make add_index and remove_index more resilient; new rename_index method; ↵ | Étienne Barrié | 2010-05-18 | 1 | -0/+34 | |
| | | | | | | | | track database limits [#3452 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Postgresql doesn't allow to change a string type column to a binary type. ↵ | Wijnand Wiersma | 2010-05-16 | 1 | -7/+9 | |
| | | | | | | Skip this test for postgresql for now. [#4616 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Don't carry default value when changing column for a binary type on MySQL ↵ | Elomar França | 2010-05-16 | 1 | -0/+10 | |
| | | | | | | [#3234 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Revert "Revert "Add index length support for MySQL [#1852 state:open]"" | Pratik Naik | 2010-05-09 | 1 | -0/+8 | |
| | | | | This reverts commit 6626833db13a69786f9f6cd56b9f53c4017c3e39. | |||||
* | Revert "Add index length support for MySQL [#1852 state:open]" | José Valim | 2010-05-08 | 1 | -8/+0 | |
| | | | | | | | | | | | | | This commit breaks dumping a few tables, as the sessions table. To reproduce, just create a new application and: rake db:sessions:create rake db:migrate rake db:test:prepare And then look at the db/schema.rb file (ht: Sam Ruby). This reverts commit 5b95730edc33ee97f53da26a3868eb983305a771. | |||||
* | Add index length support for MySQL [#1852 state:resolved] | Emili Parreno | 2010-05-08 | 1 | -0/+8 | |
| | | | | | | | | | | | | Example: add_index(:accounts, :name, :name => 'by_name', :length => 10) => CREATE INDEX by_name ON accounts(name(10)) add_index(:accounts, [:name, :surname], :name => 'by_name_surname', :length => {:name => 10, :surname => 15}) => CREATE INDEX by_name_surname ON accounts(name(10), surname(15)) Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | making rake:migrate VERSION=0 a noop called in succession. [#2137 ↵ | Neeraj Singh | 2010-04-29 | 1 | -0/+19 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> |