canvas-lms/db/migrate/20111021210121_add_encoding...

12 lines
212 B
Ruby

class AddEncodingToAttachments < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :attachments, :encoding, :string
end
def self.down
remove_column :attachments, :encoding
end
end