Sha256: f46527e63d416457dba16a4526cae3b814f22ef3f0828da93c2d599ccab5c353

Contents?: true

Size: 407 Bytes

Versions: 6

Compression:

Stored size: 407 Bytes

Contents

class CreateGreenFlagFeatureEvents < ActiveRecord::Migration
  def change
    create_table :green_flag_feature_events do |t|
      t.integer :feature_id, :null => false
      t.integer :event_type_code, :null => false
      t.integer :count, :null => false
      t.timestamps
    end

    add_index :green_flag_feature_events, :feature_id
    add_index :green_flag_feature_events, :event_type_code
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
green_flag-0.4.0 db/migrate/20150211214159_create_green_flag_feature_events.rb
green_flag-0.3.0 db/migrate/20150211214159_create_green_flag_feature_events.rb
green_flag-0.2.0 db/migrate/20150211214159_create_green_flag_feature_events.rb
green_flag-0.1.2 db/migrate/20150211214159_create_green_flag_feature_events.rb
green_flag-0.1.1 db/migrate/20150211214159_create_green_flag_feature_events.rb
green_flag-0.1.0 db/migrate/20150211214159_create_green_flag_feature_events.rb