add updated_at column to todos table

This timestamp was missing. All other tables with timestamps have update_at. Could use this in statistics
This commit is contained in:
Reinier Balt 2008-11-21 13:36:10 +01:00
parent f40c35276f
commit 49f9f33ac0

View file

@ -0,0 +1,8 @@
class AddUpdatedAtToTodos < ActiveRecord::Migration
def self.up
add_column :todos, :updated_at, :timestamp
end
def self.down
remove_column :todos, :updated_at
end
end