Restructure omni services and add Chatwoot research snapshot

This commit is contained in:
Ruslan Bakiev
2026-02-21 11:11:27 +07:00
parent edea7a0034
commit b73babbbf6
7732 changed files with 978203 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
class AddTiktokChannel < ActiveRecord::Migration[7.1]
def change
create_table :channel_tiktok do |t|
t.integer :account_id, null: false
t.string :business_id, null: false
t.string :access_token, null: false
t.datetime :expires_at, null: false
t.string :refresh_token, null: false
t.datetime :refresh_token_expires_at, null: false
t.timestamps
end
add_index :channel_tiktok, :business_id, unique: true
end
end