aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration.rb
Commit message (Collapse)AuthorAgeFilesLines
* Migration benchmark wrappers use alias_method_chain. Closes #6456.Jeremy Kemper2006-11-191-5/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document other options available to migration's add_column. #6419Marcel Molina2006-10-221-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5333 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* improve example in migrations docs, closes #6370Jeremy Kemper2006-10-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Migrations: gracefully handle missing migration files. Closes #5857.Jeremy Kemper2006-08-231-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix announcement of very long migration names. Closes #5722.Jeremy Kemper2006-08-051-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4704@asus: jeremy | 2006-06-27 12:00:19 -0700Jeremy Kemper2006-07-081-2/+3
| | | | | | | | | | | | | | | decimal r4705@asus: jeremy | 2006-06-27 12:20:47 -0700 current_adapter? checks whether any of its arguments is the name of the current adapter class r4834@asus: jeremy | 2006-07-08 13:08:24 -0700 Room to float. r4835@asus: jeremy | 2006-07-08 13:09:18 -0700 Give lock test a few chances. r4836@asus: jeremy | 2006-07-08 13:12:05 -0700 Numeric and decimal columns map to BigDecimal instead of Float. Those with scale 0 map to Integer. Closes #5454. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4596 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update inconsistent migrations documentation. Closes #4683. ↵Marcel Molina2006-04-221-2/+2
| | | | | | [machomagna@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #4521)David Heinemeier Hansson2006-04-011-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remember kiddies, Dir[] uses Dir#glob, not a RegexpRick Olson2006-03-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only run migrations that look like migrationsDavid Heinemeier Hansson2006-03-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* StylingDavid Heinemeier Hansson2006-03-181-8/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Migration#execute would have the table name prefix appended to ↵David Heinemeier Hansson2006-03-181-1/+1
| | | | | | its query (closes #4110) [mark.imbriaco@pobox.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added migrations support to the Sybase adapter (closes #4293) [John R. Sheets]David Heinemeier Hansson2006-03-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add suppress_messages to migrations, to temporarily turn off verbose messagesJamis Buck2006-03-091-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make migrations verboseJamis Buck2006-03-041-5/+98
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix doc bugDavid Heinemeier Hansson2006-01-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update documentation for Migrations. References #2861.Jeremy Kemper2005-11-141-13/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that an DuplicateMigrationVersionError gets raised when multiple ↵Florian Weber2005-10-311-4/+17
| | | | | | migrations have the same version number. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add exception to example (closes #2315)David Heinemeier Hansson2005-10-261-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix docs (closes #2491)David Heinemeier Hansson2005-10-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make migrations honor table name prefixes and suffixes.Marcel Molina2005-09-261-2/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed migrations for Windows when using more than 10 [David Naseby]David Heinemeier Hansson2005-09-211-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved migrations' behavior when the schema_info table is empty.Nicholas Seckar2005-09-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added dump of schema version to the db_structure_dump task for databases ↵David Heinemeier Hansson2005-09-121-1/+1
| | | | | | that support migrations #1835 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for #1904David Heinemeier Hansson2005-09-081-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure the schema_info table is created before querying the current ↵Jamis Buck2005-09-021-0/+1
| | | | | | version #1903 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add documentation for index_type argument to add_index method for migrations ↵Jamis Buck2005-09-021-1/+1
| | | | | | #2005 [blaine@odeo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made target migrations actually workDavid Heinemeier Hansson2005-07-091-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a VERSION parameter to the migrate task that allows you to do "rake ↵David Heinemeier Hansson2005-07-091-0/+23
| | | | | | migrate VERSION=34" to migrate to the 34th version traveling up or down depending on the current version. Added ActiveRecord::Migrator.migrate that can figure out whether to go up or down based on the target version and the current git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sugared up migrations with even more bling #1609 [Tobias Luekte]David Heinemeier Hansson2005-07-051-3/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new Migrations framework for describing schema transformations in a ↵David Heinemeier Hansson2005-07-041-3/+99
| | | | | | way that can be easily applied across multiple databases #1604 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sort the migration files explicitly so that they are always ordered correctly.Jamis Buck2005-06-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation and prepared for 0.11.0 releaseDavid Heinemeier Hansson2005-03-221-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that the schema information table is available before doing any migrationDavid Heinemeier Hansson2005-03-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added preliminary support for an agile database migration technique ↵David Heinemeier Hansson2005-03-011-0/+94
(currently only for MySQL) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de