13 lines
272 B
Ruby
13 lines
272 B
Ruby
|
class AddTimestampsToCrocodocDocuments < ActiveRecord::Migration
|
||
|
tag :predeploy
|
||
|
|
||
|
def self.up
|
||
|
add_timestamps(:crocodoc_documents)
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :crocodoc_documents, :created_at
|
||
|
remove_column :crocodoc_documents, :updated_at
|
||
|
end
|
||
|
end
|