Commit 41a7b3e2 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'mkozono-master-patch-55397' into 'master'

Geo: Add uniqueness constraint to documentation

See merge request gitlab-org/gitlab!51185
parents ed41b143 142b30da
......@@ -287,7 +287,7 @@ For example, to add support for files referenced by a `Widget` model with a
t.datetime_with_timezone :created_at, null: false
t.text :last_sync_failure
t.index :widget_id, name: :index_widget_registry_on_widget_id
t.index :widget_id, name: :index_widget_registry_on_widget_id, unique: true
t.index :retry_at
t.index :state
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