Schema
Closed this issue · 0 comments
aliou commented
- Methods to recreate the partitioned tables (and optionally the partitions)
-
Option to store them in another file ? (see how rails handles this block) - Option to dump the partitions in the schema (by default false ?)
- Dumping would need to be done manually or to override
ActiveRecord::ConnectionAdapaters::PostgreSQL::SchemaStatements#table_options
- Manually could look like
create_range_partition_of <partitioned_table>, <partition_name>
- Dumping would need to be done manually or to override