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
spree-0.7.1 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
spree-0.7.0 vendor/plugins/has_many_polymorphs/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb