How to update table column?

There is a table existed in sqlite3 database. I want to change a column
type in this table. I modified the file
db/migrate/20081229XXXX_create_project.rb and run "rake db:migrate". But
it doesn't update the table. How can I update the table with the new
definition.

Generally, don’t edit migrations. Instead, write a new one. See http://guides.rails.info/migrations.html for more details.

Regards,
Craig

Here’s a more specific URL: http://guides.rails.info/migrations.html#_changing_migrations .

Craig

Write a migration file with current version + 1

ex:

say your version number in database 1024

then create migrate file 1025_job_name.rb

run migrate