mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
12 lines
292 B
Ruby
12 lines
292 B
Ruby
class AddProjectTimestamps < ActiveRecord::Migration[5.2]
|
|
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
|