Sha256: abb8ab3966b1954999a8106322e0cc3cabe8a79804c34770e450ffc6c30c2d35
Contents?: true
Size: 335 Bytes
Versions: 126
Compression:
Stored size: 335 Bytes
Contents
class AddSessions < ActiveRecord::Migration def self.up create_table :sessions do |t| t.column :session_id, :string t.column :data, :text t.column :updated_at, :datetime end add_index :sessions, :session_id add_index :sessions, :updated_at end def self.down drop_table :sessions end end
Version data entries
126 entries across 126 versions & 7 rubygems