Sha256: 81f2b395bf18eda7f914487b2409d4a4a7eea7e24840fdb802472fddd89e9cc6
Contents?: true
Size: 441 Bytes
Versions: 22
Compression:
Stored size: 441 Bytes
Contents
class CreateDoubleStiParentRelationships < ActiveRecord::Migration def self.up create_table :double_sti_parent_relationships do |t| t.column :the_bone_type, :string, :null => false t.column :the_bone_id, :integer, :null => false t.column :parent_type, :string, :null => false t.column :parent_id, :integer, :null => false end end def self.down drop_table :double_sti_parent_relationships end end
Version data entries
22 entries across 22 versions & 4 rubygems