Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 859 Bytes

README.md

File metadata and controls

45 lines (29 loc) · 859 Bytes

Archived

June 2020: Inara v2.3.0 now doesn't require partitioned. This project is now archived.


Partitioned

Table-based partitioning for ActiveRecord

Partitioned simulates partitions with multiple tables.

employee = Employee.create(name: 'Keith')

This would normally produce the following:

INSERT INTO employees ('name') values ('Keith');

With Partitioned, we see:

INSERT INTO employees_partitions.p1 ('name') values ('Keith');

For more information on how partitioned works, see:

Developer setup

Running tests:

cd docker
docker-compose up -d

# wait a bit and then
bundle exec rspec