mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 00:08:50 +01:00
8 lines
238 B
Ruby
8 lines
238 B
Ruby
|
|
class AddUpdatedAtToTodos < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
add_column :todos, :updated_at, :timestamp
|
||
|
|
end
|
||
|
|
def self.down
|
||
|
|
remove_column :todos, :updated_at
|
||
|
|
end
|
||
|
|
end
|