Sha256: 139978ec862e82f5ba22ec70f9966862c99198a00e4ada7389fd7462a85489d4

Contents?: true

Size: 343 Bytes

Versions: 7

Compression:

Stored size: 343 Bytes

Contents

class CreateSessionRecords < ActiveRecord::Migration
  def change
    create_table :session_records do |t|
      t.string  :message_id
      t.integer :started_at
      t.integer :upstream
      t.integer :downstream
      t.integer :time

      t.timestamps
    end

    add_index :session_records, [ :message_id ], :unique => true
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
smartkiosk-client-0.2.1 db/migrate/20130216114539_create_session_records.rb
smartkiosk-client-0.2 db/migrate/20130216114539_create_session_records.rb
smartkiosk-client-0.1.19 db/migrate/20130216114539_create_session_records.rb
smartkiosk-client-0.1.18 db/migrate/20130216114539_create_session_records.rb
smartkiosk-client-0.1.17 db/migrate/20130216114539_create_session_records.rb
smartkiosk-client-0.1.16 db/migrate/20130216114539_create_session_records.rb
smartkiosk-client-0.1.15 db/migrate/20130216114539_create_session_records.rb