Sha256: 6251f87913ecd7e0455a7c36245f4dde190c1e64878d407d1e59463ec539c334

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 Bytes

Contents

# This migration comes from rubber_stamp (originally 20140206165205)
class CreateRubberStampVersionAttributes < ActiveRecord::Migration
  def change
    create_table :rubber_stamp_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 :rubber_stamp_version_attributes,
      [:version_type, :version_id],
      name: "rubber_stamp_version_attriubtes_on_version"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubber_stamp-0.15.1 db/migrate/20140206204910_create_rubber_stamp_version_attributes.rb
rubber_stamp-0.13.0 db/migrate/20140206204910_create_rubber_stamp_version_attributes.rb