Sha256: 0fb65c85c34d3d006539ebd37b920043e273e116aac5e20aa0cf4064abfbe217

Contents?: true

Size: 293 Bytes

Versions: 21

Compression:

Stored size: 293 Bytes

Contents

class CreateFlexiteHistoryAttributes < ActiveRecord::Migration
  def change
    create_table :flexite_history_attributes do |t|
      t.references :history
      t.string :name
      t.string :value

      t.timestamps
    end

    add_index :flexite_history_attributes, :history_id
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
flexite-0.0.25 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.24 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.23 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.22 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.21 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.20 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.19 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.18 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.17 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.16 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.15 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.14 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.13 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.12 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.11 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.10 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.9 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.8 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.7 db/migrate/20180618115057_create_flexite_history_attributes.rb
flexite-0.0.6 db/migrate/20180618115057_create_flexite_history_attributes.rb