diff --git a/db/migrate/043_add_updated_at_to_todos.rb b/db/migrate/043_add_updated_at_to_todos.rb new file mode 100644 index 00000000..992f2a92 --- /dev/null +++ b/db/migrate/043_add_updated_at_to_todos.rb @@ -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 \ No newline at end of file