Sha256: 2fed818f370645edd5ac11a6f707716b5f7a5084d7810665035c4a66243c3f06

Contents?: true

Size: 589 Bytes

Versions: 24

Compression:

Stored size: 589 Bytes

Contents

class CreatePacketLogEntries < ActiveRecord::Migration[5.0]
  def change
    create_table :packet_log_entries do |t|
      t.integer :target_id, :null => false
      t.integer :packet_id, :null => false
      t.datetime :received_time, :null => false
      t.integer :packet_log_id, :null => false
      t.integer :data_offset, :null => false, :limit => 8
      t.timestamps
    end
    add_index(:packet_log_entries, :target_id)
    add_index(:packet_log_entries, :packet_id)
    add_index(:packet_log_entries, :received_time)
    add_index(:packet_log_entries, :packet_log_id)
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
cosmos-4.5.2-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.5.2 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.5.1-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.5.1 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.5.0-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.5.0 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.4.2-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.4.2 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.4.1-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.4.1 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.4.0-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.4.0 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.3.0-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.3.0 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.2.4-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.2.4 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.2.3-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.2.3 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.2.2-java lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb
cosmos-4.2.2 lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb