canvas-lms/db/migrate/20140414230423_add_timestam...

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