Sha256: 526d367474b80cc377353b4471b9c1f19ba791fda443b96d114286a5cbab72e3
Contents?: true
Size: 388 Bytes
Versions: 97
Compression:
Stored size: 388 Bytes
Contents
class <%= class_name %> < ActiveRecord::Migration def self.up create_table :<%= session_table_name %> do |t| t.string :session_id, :null => false t.text :data t.timestamps end add_index :<%= session_table_name %>, :session_id add_index :<%= session_table_name %>, :updated_at end def self.down drop_table :<%= session_table_name %> end end
Version data entries
97 entries across 96 versions & 16 rubygems