mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:39:52 +01:00
14 lines
317 B
Ruby
14 lines
317 B
Ruby
class CreateServices < ActiveRecord::Migration[4.2]
|
|
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
|