Commit 701b4d70 authored by Toon Claes's avatar Toon Claes

Rename concern to Shardable

A shard is now the proper name for a repository storage, so Shardable
is an acceptable name for defining the repository shard.
parent 50d29b6b
# frozen_string_literal: true
module RepositoryOnShard
module Shardable
extend ActiveSupport::Concern
included do
......
# frozen_string_literal: true
class PoolRepository < ActiveRecord::Base
include RepositoryOnShard
include Shardable
has_many :member_projects, class_name: 'Project'
......
# frozen_string_literal: true
class ProjectRepository < ActiveRecord::Base
include RepositoryOnShard
include Shardable
belongs_to :project, inverse_of: :project_repository
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment