mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-06-06 15:17:19 -04:00
16 lines
378 B
Ruby
16 lines
378 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateAuthentications < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :authentications do |t|
|
|
t.integer :member_id, null: false
|
|
t.string :provider, null: false
|
|
t.string :uid
|
|
t.string :token
|
|
t.string :secret
|
|
t.timestamps null: true
|
|
end
|
|
add_index :authentications, :member_id
|
|
end
|
|
end
|