Sha256: 53bdaa8c6dec82d4d7d077209393fdf0c3a015276eed439724f4c6e2413f8b71
Contents?: true
Size: 385 Bytes
Versions: 4
Compression:
Stored size: 385 Bytes
Contents
class AddSessionsTable < ActiveRecord::Migration def self.up create_table :sessions, :force => true do |t| t.column :session_id, :string, :limit => 32 t.column :created_at, :datetime t.column :data, :text end add_index "sessions", ["session_id"], :name => "session_id_index" end def self.down drop_table :sessions end end
Version data entries
4 entries across 4 versions & 1 rubygems