Sha256: 36b1859154bd4247c664662f1f66badd6f91b07bc630895eb69a346b1ab9f0d8

Contents?: true

Size: 577 Bytes

Versions: 8

Compression:

Stored size: 577 Bytes

Contents

# This migration comes from controlled_versioning (originally 20140206165205)
class CreateControlledVersioningVersionAttributes < ActiveRecord::Migration
  def change
    create_table :controlled_versioning_version_attributes do |t|
      t.string   :version_type, null: false
      t.integer  :version_id, null: false
      t.string :name, null: false
      t.text :old_value
      t.text :new_value
    end
    add_index :controlled_versioning_version_attributes,
      [:version_type, :version_id],
      name: "controlled_versioning_version_attriubtes_on_version"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
controlled_versioning-0.12.0 db/migrate/20140206204910_create_controlled_versioning_version_attributes.rb
controlled_versioning-0.11.0 db/migrate/20140206204910_create_controlled_versioning_version_attributes.rb
controlled_versioning-0.10.0 db/migrate/20140206204910_create_controlled_versioning_version_attributes.rb
controlled_versioning-0.9.2 db/migrate/20140206204910_create_controlled_versioning_version_attributes.rb
controlled_versioning-0.9.1 db/migrate/20140206204910_create_controlled_versioning_version_attributes.rb
controlled_versioning-0.9.0 db/migrate/20140206204910_create_controlled_versioning_version_attributes.rb
controlled_versioning-0.8.0 db/migrate/20140206204910_create_controlled_versioning_version_attributes.rb
controlled_versioning-0.7.2 spec/dummy/db/migrate/20140206173608_create_controlled_versioning_version_attributes.controlled_versioning.rb