1
0
Fork 0
oldhaven/db/migrate/20110622053238_create_sessi...

15 lines
226 B
Ruby

class CreateSessions < ActiveRecord::Migration
def self.up
create_table :sessions do |t|
t.integer :user_id
t.string :key
t.timestamps
end
end
def self.down
drop_table :sessions
end
end