lib/partitioned/multi_level/partition_manager.rb in partitioned-1.1.3 vs lib/partitioned/multi_level/partition_manager.rb in partitioned-1.1.5

- old
+ new

@@ -15,12 +15,10 @@ enumerable.each do |*partition_key_values| create_partition_schema(*partition_key_values) end end - protected - # # Create a specific child table that does not currently # exist and whose schema (the schema that the table exists in) # also already exists (#create_infrastructure is designed to # create this). @@ -34,9 +32,11 @@ add_references_to_partition_table(*partition_key_values) else add_parent_table_rules(*partition_key_values) end end + + protected # # Is the table a child table without itself having any children. # generally leaf tables are where all indexes and foreign key # constraints will be placed because that is where the data will be.