discourse/db/migrate/20190111183409_add_imap_fie...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
334 B
Ruby
Raw Permalink Normal View History

# 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