mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
13 lines
284 B
Ruby
13 lines
284 B
Ruby
class AddContextTimestamps < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
add_column :contexts, :created_at, :timestamp
|
|
add_column :contexts, :updated_at, :timestamp
|
|
end
|
|
|
|
def self.down
|
|
remove_column :contexts, :created_at
|
|
remove_column :contexts, :updated_at
|
|
end
|
|
|
|
end
|