Deleting a Model/migration/table

rails destroy model model_name

I have tried to delete a model hoping it would destroy the corresponding
table too...
but i see that the table isnt deleted...

Can you guys help me out to find a correct way to delte a model and a table.

the destroy task generates migrations. you should do rake db:migrate after
running the destroy task.

ยทยทยท

2011/9/29 Siddharth Reddy <sid.waste@gmail.com>

rails destroy model model_name

I have tried to delete a model hoping it would destroy the corresponding
table too...
but i see that the table isnt deleted...

Can you guys help me out to find a correct way to delte a model and a
table.