Sha256: dad534cf36e34fd8d2daab38163a5c8bae742e1baa00c9135dd1d2378b5d2139
Contents?: true
Size: 292 Bytes
Versions: 5
Compression:
Stored size: 292 Bytes
Contents
class AddSessionsTable < ActiveRecord::Migration[5.1] def change create_table :sessions do |t| t.string :session_id, :null => false t.text :data t.timestamps end add_index :sessions, :session_id, :unique => true add_index :sessions, :updated_at end end
Version data entries
5 entries across 5 versions & 1 rubygems