search for: cur_db_version

Displaying 1 result from an estimated 1 matches for "cur_db_version".

2006 Jun 18
1
Problem using "rake db:migrate"
..."app2" & the table "table1" which I want to get created, will not get created. One possible workaround to this problem could be as 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 probl...