Commit 9ef27335 authored by Marcin Sedlak-Jakubowski's avatar Marcin Sedlak-Jakubowski

Merge branch 'fix-typo-in-null-constraint-migration-docs' into 'master'

Fix copy/paste typo in not_null_constraints.md

See merge request gitlab-org/gitlab!65511
parents ce44738c 2a9efd45
......@@ -175,7 +175,7 @@ class CleanupEpicsWithNullDescription < ActiveRecord::Migration[6.0]
end
```
#### Validate the text limit (next release)
#### Validate the `NOT NULL` constraint (next release)
Validating the `NOT NULL` constraint will scan the whole table and make sure that each record is correct.
......@@ -201,7 +201,7 @@ end
## `NOT NULL` constraints on large tables
If you have to clean up a text column for a [high-traffic table](../migration_style_guide.md#high-traffic-tables)
If you have to clean up a nullable column for a [high-traffic table](../migration_style_guide.md#high-traffic-tables)
(for example, the `artifacts` in `ci_builds`), your background migration will go on for a while and
it will need an additional [background migration cleaning up](../background_migrations.md#cleaning-up)
in the release after adding the data migration.
......
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