Sha256: 119c99b0e42fc9f1b09fc3fe7d4ee11d0e54ec5eb4d48252f7ea8a8edf95df9b
Contents?: true
Size: 332 Bytes
Versions: 139
Compression:
Stored size: 332 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration def change 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 end
Version data entries
139 entries across 108 versions & 15 rubygems