Sha256: a05a1d766ce1c6c7fb7cd4c805a44b59fa09e21d6e7af7d810efd68d51114d8b

Contents?: true

Size: 424 Bytes

Versions: 13

Compression:

Stored size: 424 Bytes

Contents

class CreateFaeChanges < ActiveRecord::Migration
  def change
    create_table :fae_changes do |t|
      t.integer :changeable_id
      t.string :changeable_type
      t.integer :user_id
      t.string :change_type
      t.text :updated_attributes

      t.timestamps null: false
    end

    add_index :fae_changes, :changeable_id
    add_index :fae_changes, :changeable_type
    add_index :fae_changes, :user_id
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fae-rails-1.7.1 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.7.0 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.6.0 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.5.1 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.5.0 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.4.1 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.4.0 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.3.1 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.3.0 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.2.5 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.2.4 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.2.3 db/migrate/20150930224821_create_fae_changes.rb
fae-rails-1.2.2 db/migrate/20150930224821_create_fae_changes.rb