fix: Remove IMAP and SMTP email validation (#4435)

* Remove IMAP and SMTP email validation
* Rename imap_email & smtp_email columns to imap_login & smtp_login respectively.
* Use channel email domain if inbound email domain not present
This commit is contained in:
Aswin Dev P.S
2022-04-11 19:37:20 +05:30
committed by GitHub
parent 3d164271a8
commit 31cdc63e18
17 changed files with 86 additions and 53 deletions

View File

@@ -0,0 +1,6 @@
class RenameImapEmailAndSmtpEmailColumns < ActiveRecord::Migration[6.1]
def change
rename_column :channel_email, :imap_email, :imap_login
rename_column :channel_email, :smtp_email, :smtp_login
end
end