search for: 004_

Displaying 2 results from an estimated 2 matches for "004_".

Did you mean: 004
2006 Jun 18
1
Problem using "rake db:migrate"
...follows: 1. After creating a model for "app2", read current database version in schema_info table of "testdb" say cur_db_version. 2. In "app2", rename file prefix from "001_" to "00<cur_db_version+1>_" (in this case "004_") & then run "rake db:migrate" command for "app2". This is not 100% correct solution, as it may introduce other problems as I move ahead. E.g. in "app1", I want to delete the third table(created by migration file "003_"), so I will run command...
2006 Aug 01
10
Migration DB Question
Just going through ''agile web development with rails'' 2nd ed. I accidentally created an empty migration source file with the wrong name, ruby script/generate migration add_test_date and then straight after that created the one I wanted to use ruby script/generate migration add_test_data and populated the second one - when I ran rake db:migrate a few times it did not seem