OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/db/migrate/20210701082511_add_digest_t...

12 lines
432 B

class AddDigestToNotification < ActiveRecord::Migration[6.1]
def change
change_table :notifications, bulk: true do |t|
t.column :read_mail_digest, :boolean, default: false, index: true
t.column :reason_mail, :integer, limit: 1
t.column :reason_mail_digest, :integer, limit: 1
end
rename_column :notifications, :reason, :reason_ian
rename_column :notifications, :read_email, :read_mail
end
end