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

10 lines
194 B
Ruby

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