feat: Added Instagram channel migration (#11181)

This PR is part of https://github.com/chatwoot/chatwoot/pull/11054 to
make the review cycle easier.
This commit is contained in:
Muhsin Keloth
2025-03-26 11:12:32 +05:30
committed by GitHub
parent 157ec00994
commit d9450fde4a
6 changed files with 83 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
class AddInstagramChannel < ActiveRecord::Migration[7.0]
def change
create_table :channel_instagram do |t|
t.string :access_token, null: false
t.datetime :expires_at, null: false
t.integer :account_id, null: false
t.string :instagram_id, null: false
t.timestamps
end
add_index :channel_instagram, :instagram_id, unique: true
end
end