Sha256: fbf610e35085969b639c20dbd94691e64d44063d42ceb8373cd117419baf0c76
Contents?: true
Size: 398 Bytes
Versions: 44
Compression:
Stored size: 398 Bytes
Contents
class <%= migration_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
44 entries across 44 versions & 2 rubygems