This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
redstoner.com/db/migrate/08_create_sessions.rb
2016-01-17 22:27:38 +01:00

13 lines
279 B
Ruby

class CreateSessions < ActiveRecord::Migration
def change
create_table :sessions do |t|
t.string :session_id, :null => false
t.text :data
t.timestamps null: true
end
add_index :sessions, :session_id
add_index :sessions, :updated_at
end
end