DEV Community

Discussion on: Postgres table partitioning with Rails

Collapse
 
d0nkeybob profile image
Rich

Apologies, I'll update the post with that info.

Collapse
 
rhymes profile image
rhymes

Gathering from your updates:

I have through psql statements. updates don't work.

So the issue is not Rails though. If the CRUD operations don't all work manually, there's probably something wrong in how the partition is set or configured.

Through a check on an id and by month

But what's the schema of the tables? Can you share it? Maybe through sqlfiddle.com/ or db-fiddle.com/ so we can take a look?