How to Delete Table from Database?

I want to delete my project, how do I delete my table inside my sqlite database?

Thanks

ActiveRecord::Base.connection.drop_table :your_table_name

Or, if you created it with a migration, you can just undo it the same way (the code is already written for you):

rake db:migrate:down VERSION=x

You can grab the version number from the front of your file name in db \migrations

Brian wrote:

Or, if you created it with a migration, you can just undo it the same way (the code is already written for you):

rake db:migrate:down VERSION=x

You can grab the version number from the front of your file name in db \migrations

On Jun 1, 5:41�pm, Zayd Connor <rails-mailing-l...@andreas-s.net>

Thanks guys for your help, got things squared away.

Kindest Regards