2023-10-19 16:37:34 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-04-19 09:10:31 -07:00
|
|
|
class CreateServices < ActiveRecord::Migration[4.2]
|
2014-12-12 12:42:34 -08:00
|
|
|
def change
|
|
|
|
create_table :services do |t|
|
|
|
|
t.string :type, null: false
|
|
|
|
t.integer :user_id, null: false
|
|
|
|
t.string :uid
|
|
|
|
t.string :access_token
|
|
|
|
t.string :access_secret
|
|
|
|
t.string :nickname
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|