Sha256: acbdce1ba89264fbbf5239cb836362b6b04e9fecff6a433d3812dce4cc7b8c89

Contents?: true

Size: 399 Bytes

Versions: 22

Compression:

Stored size: 399 Bytes

Contents

class CreateSingleStiParentRelationships < ActiveRecord::Migration
  def self.up
    create_table :single_sti_parent_relationships do |t|
      t.column :the_bone_type, :string, :null => false
      t.column :the_bone_id, :integer, :null => false
      t.column :single_sti_parent_id, :integer, :null => false
    end
  end

  def self.down
    drop_table :single_sti_parent_relationships
  end
end

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
radiant-tags-extension-1.6.10 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
johnsbrn-has_many_polymorphs-2.13.1 test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
johnsbrn-has_many_polymorphs-2.13.3 test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
johnsbrn-has_many_polymorphs-2.13.4 test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
johnsbrn-has_many_polymorphs-2.13 test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.9 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.8 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.7 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.6 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.5 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.4 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.3 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.2 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.1 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.6.0 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
radiant-tags-extension-1.5.1 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
has_many_polymorphs-2.2 test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
has_many_polymorphs-2.13 test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
has_many_polymorphs-2.12 test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
spree-0.6.0 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb