Chatwoot/db/migrate/20161025064031_create_facebook_pages.rb
Pranav Raj Sreepuram 2a34255e0b Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com>
Co-authored-by: Manoj <manojmj92@gmail.com>
Co-authored-by: Nithin <webofnithin@gmail.com>
2019-08-14 15:18:44 +05:30

13 lines
379 B
Ruby

class CreateFacebookPages < ActiveRecord::Migration[5.0]
def change
create_table :facebook_pages do |t|
t.string :name
t.string :page_id, null: false
t.string :user_access_token, null: false
t.string :page_access_token, null: false
t.integer :account_id, null: false
t.integer :inbox_id, null: false
t.timestamps
end
end
end