14 lines
283 B
Ruby
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 |