12 lines
334 B
Ruby
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
|