BikeBikeBike/db/migrate/20131102214954_sorcery_external.rb
2014-03-09 14:43:33 -06:00

14 lines
283 B
Ruby

class SorceryExternal < ActiveRecord::Migration
def self.up
create_table :authentications do |t|
t.integer :user_id, :null => false
t.string :provider, :uid, :null => false
t.timestamps
end
end
def self.down
drop_table :authentications
end
end