add migration changes

This commit is contained in:
Tanmay Deep Sharma
2026-02-23 14:07:09 +05:30
parent 7b6b2afdce
commit 223c04c748
2 changed files with 4 additions and 2 deletions
@@ -1,4 +1,4 @@
class AddImapBackoffToChannelEmail < ActiveRecord::Migration[7.2]
class AddImapBackoffToChannelEmail < ActiveRecord::Migration[7.1]
def change
add_column :channel_email, :imap_retry_count, :integer, default: 0, null: false
add_column :channel_email, :imap_retry_after, :datetime
+3 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2026_01_30_061021) do
ActiveRecord::Schema[7.1].define(version: 2026_02_23_100000) do
# These extensions should be enabled to support this database
enable_extension "pg_stat_statements"
enable_extension "pg_trgm"
@@ -442,6 +442,8 @@ ActiveRecord::Schema[7.1].define(version: 2026_01_30_061021) do
t.jsonb "provider_config", default: {}
t.string "provider"
t.boolean "verified_for_sending", default: false, null: false
t.integer "imap_retry_count", default: 0, null: false
t.datetime "imap_retry_after"
t.index ["email"], name: "index_channel_email_on_email", unique: true
t.index ["forward_to_email"], name: "index_channel_email_on_forward_to_email", unique: true
end