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