mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
12 lines
287 B
Ruby
12 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
|