Chatwoot/db/migrate/20200124190208_create_channel_twitter_profiles.rb
Pranav Raj S a9c304f1ef
Feature: Twitter DM Integration (#451)
An initial version of twitter integration

Co-authored-by: Sojan Jose <sojan@pepalo.com>
2020-02-03 00:54:00 +05:45

12 lines
375 B
Ruby

class CreateChannelTwitterProfiles < ActiveRecord::Migration[6.0]
def change
create_table :channel_twitter_profiles do |t|
t.string :name
t.string :profile_id, null: false
t.string :twitter_access_token, null: false
t.string :twitter_access_token_secret, null: false
t.integer :account_id, null: false
t.timestamps
end
end
end