Sha256: b8e82e3dda7694fcd134dbfcbd1a9ffd91bd77a3676e811870c437b316d6a7a8
Contents?: true
Size: 445 Bytes
Versions: 21
Compression:
Stored size: 445 Bytes
Contents
class CreateSessionRecords < ActiveRecord::Migration def change create_table :session_records do |t| t.belongs_to :terminal t.string :message_id t.integer :started_at t.integer :upstream t.integer :downstream t.integer :time t.timestamps end add_index :session_records, [ :terminal_id, :message_id ], :unique => true add_index :session_records, :created_at end end
Version data entries
21 entries across 21 versions & 1 rubygems