Commit eb73f12d authored by Toon Claes's avatar Toon Claes

Merge branch '213872-geo-implement-backfill-of-packagefiles-blobs-2-docs' into 'master'

Documentation for backfill of PackageFiles

Closes #213872

See merge request gitlab-org/gitlab!34247
parents 3e4aaaac e215315f
...@@ -257,6 +257,8 @@ For example, to add support for files referenced by a `Widget` model with a ...@@ -257,6 +257,8 @@ For example, to add support for files referenced by a `Widget` model with a
class Geo::WidgetRegistry < Geo::BaseRegistry class Geo::WidgetRegistry < Geo::BaseRegistry
include Geo::StateMachineRegistry include Geo::StateMachineRegistry
MODEL_FOREIGN_KEY = :widget_id
belongs_to :widget, class_name: 'Widget' belongs_to :widget, class_name: 'Widget'
end end
``` ```
...@@ -305,6 +307,8 @@ For example, to add support for files referenced by a `Widget` model with a ...@@ -305,6 +307,8 @@ For example, to add support for files referenced by a `Widget` model with a
specify 'factory is valid' do specify 'factory is valid' do
expect(registry).to be_valid expect(registry).to be_valid
end end
include_examples 'a Geo framework registry'
end end
``` ```
......
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