Sha256: 20df8b5206655b4dfa6c61fb36a250ed7ccbea684f2080b838fedef12f69ab23
Contents?: true
Size: 318 Bytes
Versions: 30
Compression:
Stored size: 318 Bytes
Contents
class AddSessionTable < ActiveRecord::Migration def self.up create_table :sessions do |t| t.string :session_id, :null => false t.text :data t.timestamps end add_index :sessions, :session_id add_index :sessions, :updated_at end def self.down drop_table :sessions end end
Version data entries
30 entries across 30 versions & 1 rubygems