Migrations don't work :-(

Ran rake db:migrate after adding a new table and this is what happened:
C:\my_bigz>rake db:migrate --trace
(in C:/my_bigz)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump



Ok, sorry, I just reset my database and it works

On 21-Jun-07, at 7:00 PM, Dan G. wrote:

** Invoke environment
** Execute db:schema:dump



just a hunch - did you clone your db structure to test?

imac:~/Documents/dev/ivmc jodi$ rake --tasks | grep clone

rake db:test:clone # Recreate the test database
from the current environment’s database schema
rake db:test:clone_structure # Recreate the test databases
from the development structure


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs