discourse/db/migrate/20190111183409_add_imap_fie...

12 lines
334 B
Ruby

# frozen_string_literal: true
class AddImapFieldsToIncomingEmails < ActiveRecord::Migration[5.2]
def change
add_column :incoming_emails, :imap_uid_validity, :integer
add_column :incoming_emails, :imap_uid, :integer
add_column :incoming_emails, :imap_sync, :boolean
add_index :incoming_emails, :imap_sync
end
end