gitlab-org--gitlab-foss/app/models/namespace/aggregation_schedule.rb
Mayra Cabrera bde41ee866 Add two new ActiveRecord models
- Namespace::Storagestatistics will persist root namespace statistics
- Namespace::AggregationSchedule will save information when a new update
to the namespace statistics needs to be scheduled

Both tables use 'namespace_id' as primary key
2019-06-25 09:54:47 -05:00

7 lines
152 B
Ruby

# frozen_string_literal: true
class Namespace::AggregationSchedule < ApplicationRecord
self.primary_key = :namespace_id
belongs_to :namespace
end