wanelo/sequel-schema-sharding

View on GitHub
examples/sharding.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'sequel-schema-sharding'

Sequel::SchemaSharding.migration_path = File.expand_path('../db/sharding_migrations', __FILE__)
Sequel::SchemaSharding.sharding_yml_path = File.expand_path('../sharding.yml', __FILE__)