discourse/db/migrate/20190111183409_add_imap_fields_to_incoming_emails.rb
Dan Ungureanu c72bc27888
FEATURE: Implement support for IMAP and SMTP email protocols. (#8301)
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2020-07-10 12:05:55 +03:00

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