Commit Graph

15 Commits

Author SHA1 Message Date
Marcel Molina 1465f9cee2 Make migrations honor table name prefixes and suffixes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-26 21:30:12 +00:00
David Heinemeier Hansson 2d4fe31af6 Fixed migrations for Windows when using more than 10 [David Naseby]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-21 13:27:45 +00:00
Nicholas Seckar 3e2bac428d Improved migrations' behavior when the schema_info table is empty.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-20 01:33:43 +00:00
David Heinemeier Hansson a16528f715 Added dump of schema version to the db_structure_dump task for databases that support migrations #1835 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 05:33:18 +00:00
David Heinemeier Hansson 9053c4c83e Added documentation for #1904
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-08 17:49:31 +00:00
Jamis Buck 7a0e1bd56a Make sure the schema_info table is created before querying the current version #1903
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-02 14:20:20 +00:00
Jamis Buck bf3f920989 Add documentation for index_type argument to add_index method for migrations #2005 [blaine@odeo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-02 10:07:14 +00:00
David Heinemeier Hansson 32a800761e Made target migrations actually work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 16:28:15 +00:00
David Heinemeier Hansson 47a3bafe26 Added a VERSION parameter to the migrate task that allows you to do "rake 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
2005-07-09 15:46:29 +00:00
David Heinemeier Hansson f1880cac58 Sugared up migrations with even more bling #1609 [Tobias Luekte]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 07:19:20 +00:00
David Heinemeier Hansson 4160b518a8 Added new Migrations framework for describing schema transformations in a 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
2005-07-04 18:51:02 +00:00
Jamis Buck b0a35b6fe9 Sort the migration files explicitly so that they are always ordered correctly.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-07 17:00:43 +00:00
David Heinemeier Hansson daaa5251c9 Fixed documentation and prepared for 0.11.0 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 13:09:44 +00:00
David Heinemeier Hansson bc05cb1855 Ensure that the schema information table is available before doing any migration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-01 14:50:48 +00:00
David Heinemeier Hansson eac7cf0b06 Added preliminary support for an agile database migration technique (currently only for MySQL)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-01 14:27:32 +00:00