15 lines
312 B
Ruby
15 lines
312 B
Ruby
|
class CreateServices < ActiveRecord::Migration
|
||
|
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
|