canvas-lms/db/migrate/20111018221343_drop_invitat...

12 lines
243 B
Ruby

class DropInvitationEmailFromEnrollments < ActiveRecord::Migration[4.2]
tag :predeploy
def self.up
remove_column :enrollments, :invitation_email
end
def self.down
add_column :enrollments, :invitation_email, :string
end
end