canvas-lms/db/migrate/20110330192602_postgres_com...

12 lines
302 B
Ruby

class PostgresCompatFixes < ActiveRecord::Migration
def self.up
change_column :attachments, :size, :bigint
change_column :error_reports, :user_agent, :text
end
def self.down
change_column :attachments, :size, :integer
change_column :error_reports, :user_agent, :string
end
end