Sha256: 795a59f95cafc555c79e211e6733b3c83e839742edd58ccff54c8d0e2773c701

Contents?: true

Size: 288 Bytes

Versions: 21

Compression:

Stored size: 288 Bytes

Contents

class CreateFlexiteHistories < ActiveRecord::Migration
  def change
    create_table :flexite_histories do |t|
      t.references :entity, polymorphic: true

      t.timestamps
    end

    add_index :flexite_histories, :entity_id
    add_index :flexite_histories, :entity_type
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

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