Sha256: 001072db5cad28f971b51341e46d5b0e7b8838c4aadd9ac22a81d83acec81d3f
Contents?: true
Size: 904 Bytes
Versions: 1
Compression:
Stored size: 904 Bytes
Contents
# This migration comes from rubber_stamp (originally 20140206165210) class CreateRubberStampVersionChildren < ActiveRecord::Migration def change create_table :rubber_stamp_version_children do |t| t.string :version_type, null: false t.integer :version_id, null: false t.string :versionable_type t.integer :versionable_id t.string :association_name, null: false t.boolean :marked_for_removal, null: false, default: false end add_index :rubber_stamp_version_children, :association_name, name: "rubber_stamp_version_children_on_association" add_index :rubber_stamp_version_children, [:version_type, :version_id], name: "rubber_stamp_version_children_on_version" add_index :rubber_stamp_version_children, [:versionable_type, :versionable_id], name: "rubber_stamp_version_children_on_versionable" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubber_stamp-0.13.0 | db/migrate/20140206204920_create_rubber_stamp_version_children.rb |