Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add tests for scoping schema_migrations index by global table prefix and suffix | Cristi Balan | 2009-08-09 | 1 | -0/+18 |
| | | | | | | [#1543 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | PostgreSQL: XML datatype support | Leonardo Borges | 2009-08-09 | 1 | -9/+19 |
| | | | | | | [#1874 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix that creating a table whose primary key prefix type is :table_name ↵ | Morgan Schweers | 2009-08-09 | 1 | -2/+2 |
| | | | | | | | | generates an incorrectly pluralized primary key. [#872 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add rake db:forward - opposite of db:rollback [#768 state:resolved] | Cristi Balan | 2009-08-08 | 1 | -0/+11 |
| | | | | | | | | Example: rake db:forward # performs the next migration rake db:forward STEP=4 # performs the next 4 migrations Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Don't rely on T::U::TestCase#name | Jeremy Kemper | 2009-08-07 | 1 | -4/+5 |
| | |||||
* | Oracle adapter gets Time or DateTime value already with timezone | Raimonds Simanovskis | 2009-08-06 | 1 | -17/+46 |
| | |||||
* | Fixed a bug where create_table could not be called without a block [#2221 ↵ | Joseph Wilk | 2009-06-21 | 1 | -0/+7 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure table names are quoted while renaming for sqlite3 adapter [#2272 ↵ | Brian Hogan | 2009-06-21 | 1 | -0/+26 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | SQLite adapters now support DDL transactions [#2080 state:resolved] | Jason King | 2009-03-14 | 1 | -1/+25 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -13/+13 |
| | | | | [#1617 state:resolved] | ||||
* | Fixed broken migrations tests: added assert_equal. [#1704 state:resolved] | Marcello Nuccio | 2009-03-07 | 1 | -7/+7 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -216/+208 |
| | |||||
* | Remove SQL Server cases from tests for latest adapter work to pass rails ↵ | Ken Collins | 2008-11-19 | 1 | -7/+3 |
| | | | | | | expected behavior. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Deal with MySQL's quirky handling of defaults and blob/text columns | Frederick Cheung | 2008-09-14 | 1 | -1/+5 |
| | | | | | | [#1043 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Just look at sql_type when testing that the correct database-specific type ↵ | Tarmo Tänav | 2008-08-26 | 1 | -4/+1 |
| | | | | | | was used Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Made migrations transactional for PostgreSQL [#834 state:resolved] | Tarmo Tänav | 2008-08-22 | 1 | -0/+15 |
| | | | | Patch originally from http://dev.rubyonrails.org/ticket/5470 | ||||
* | Ensure t.timestamps respects options. [#828 state:resolved] | Patrick Reagan | 2008-08-22 | 1 | -2/+35 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Added MigrationProxy to defer loading of Migration classes until they are ↵ | Nik Wakelin | 2008-08-06 | 1 | -0/+20 |
| | | | | | | | actually required by the migrator Signed-off-by: Michael Koziarski <michael@koziarski.com> [#747 state:resolved] | ||||
* | Fixed mysql change_column_default to not make the column always nullable. | Tarmo Tänav | 2008-07-14 | 1 | -0/+49 |
| | | | | | | Also added change_column_null to both mysql and sqlite to keep the api features closer to postgresql. [#617 state:resolved] | ||||
* | Fixed test_rename_nonexistent_column for PostgreSQL | Tarmo Tänav | 2008-07-14 | 1 | -1/+7 |
| | | | | | | Also fixed ability to run migration_test.rb alone [#616 state:resolved] | ||||
* | MySQL: treat integer with :limit => 11 as a display width, not byte size, ↵ | Jeremy Kemper | 2008-06-27 | 1 | -10/+14 |
| | | | | for backward-compatibility. | ||||
* | Test for tinyint | Jeremy Kemper | 2008-06-23 | 1 | -1/+1 |
| | |||||
* | Always treat integer :limit as byte length. [#420 state:resolved] | Tarmo Tänav | 2008-06-22 | 1 | -0/+5 |
| | |||||
* | ActiveRecord::Migrator#run records version-state after migrating. [#369 ↵ | Michael Raidel | 2008-06-22 | 1 | -10/+15 |
| | | | | state:resolved] | ||||
* | MySQL: rename_column preserves default values. [#466 state:resolved] | Diego Algorta | 2008-06-22 | 1 | -0/+26 |
| | |||||
* | Fix failing tests on mysql 4.1 & ruby 1.8.4. [#237 state:resolved] | Frederick Cheung | 2008-05-22 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Added protection against duplicate migration names (Aslak Hellesøy) [#112 ↵ | Aslak Hellesøy | 2008-05-11 | 1 | -0/+6 |
| | | | | state:resolved] | ||||
* | create_table :force => true no longer tries to drop a non-existing table | Tarmo Tänav | 2008-05-07 | 1 | -0/+18 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Added change_table for migrations (Jeff Dean) [#71 state:resolved] | David Heinemeier Hansson | 2008-05-03 | 1 | -1/+207 |
| | |||||
* | Provide data for the key column otherwise adding a unique index will fail. ↵ | Frederick Cheung | 2008-04-23 | 1 | -0/+1 |
| | | | | [#30 state:closed] | ||||
* | Fix migrations when migrating to a specified version number with a fresh ↵ | Ian White | 2008-04-17 | 1 | -1/+8 |
| | | | | | | database [#1 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add support for interleaving migrations by storing which migrations have run ↵ | Rick Olson | 2008-04-09 | 1 | -9/+43 |
| | | | | | | in the new schema_migrations table. Closes #11493 [jordi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix migration test when run in GMT zone. Closes #11477 [thechrisoshow] | Jeremy Kemper | 2008-04-01 | 1 | -4/+19 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Switched to UTC-timebased version numbers for migrations and the schema. ↵ | David Heinemeier Hansson | 2008-03-28 | 1 | -11/+32 |
| | | | | | | This will as good as eliminate the problem of multiple migrations getting the same version assigned in different branches. Also added rake db:migrate:up/down to apply individual migrations that may need to be run when you merge branches (closes #11458) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Migrations: create_table supports primary_key_prefix_type. Closes #10314. | Jeremy Kemper | 2008-03-18 | 1 | -0/+27 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | test_native_types expects DateTime.local_offset instead of ↵ | Geoff Buesing | 2008-03-10 | 1 | -1/+1 |
| | | | | | | DateTime.now.offset; fixes test breakage due to dst transition git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix typo in migration test. Closes #11105 [h-lame] | Jeremy Kemper | 2008-02-15 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | MySQL: omit text/blob defaults from the schema instead of using an empty ↵ | Jeremy Kemper | 2008-01-30 | 1 | -5/+1 |
| | | | | | | string. Closes #10963. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails | Jeremy Kemper | 2008-01-21 | 1 | -24/+25 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix paths | Jeremy Kemper | 2008-01-18 | 1 | -27/+27 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Move tests to cases | Jeremy Kemper | 2008-01-18 | 1 | -0/+987 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |