Skip to content

Batched Background migrations fail on upgrade to 15.11.0

Summary

A Customer has reported two failing batched background migrations after upgrade. These migrations are CopyColumnUsingBackgroundMigrationJob: ci_build_needs and CopyColumnUsingBackgroundMigrationJob: sent_notifications The initializing db migrations are marked as up.

db migrations that seemed to have failed but marked as up:20230130175512 and 20230130104819

Steps to reproduce

This has not been reproduced unfortunately however community members have reported similar errors

Example Project

What is the current bug behavior?

Migrations that did not run are marked as up and batched background migrations are failing

What is the expected correct behavior?

migrations are marked as down until they run properly.

Relevant logs and/or screenshots

PG::UndefinedColumn: ERROR: column "id_convert_to_bigint" of relation "ci_build_needs" does not exist LINE 1: ...db_config_name:main*/ UPDATE "ci_build_needs" SET "id_conver... ^
| PG::UndefinedColumn: ERROR: column "id_convert_to_bigint" of relation "sent_notifications" does not exist LINE 1: ...onfig_name:main*/ UPDATE "sent_notifications" SET "id_conver... ^ |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
migrations status

database: gitlabhq_production

 Status   Migration ID    Migration Name
--------------------------------------------------
## TRUNCATED
   up     20220314184009  Init schema
   up     20220314184109  Add user fk to protected environment approval rules
   up     20220314184209  Add group fk to protected environment approval rules
   up     20220314194009  Add approval rule id to deployment approvals
   up     20220314194149  Add project ci secure files to plan limits
   up     20220314204009  Add approval rule fk to deployment approvals
   up     20220315171027  Add tmp index to support leaky regex cleanup
   up     20220315171129  Cleanup draft data from faulty regex
   up     20220315181125  Remove issues work item type id index
   up     20220315181130  Add temporary issue type index for work item types
   up     20220315181136  Backfill work item type id on issues
   up     20220315211043  Add index to vulnerability reads
   up     20220316022505  Create namespace details
   up     20220316095126  Add creator id to deploy tokens
   up     20220316102900  Add index to deploy tokens on creator
   up     20220316102902  Add user foreign key to deploy tokens
   up     20220316112118  Update organizations name index add
   up     20220316112206  Add contacts index on group email and
   up     20220316165539  Add index to vulnerabilities
   up     20220316202200  Add migration plan to container repositories
   up     20220316202402  Add text limit to container repositories migration plan
   up     20220316202640  Populate container repositories migration plan
   up     20220317161914  Remove ci runners ci builds runner id fk
   up     20220317170122  Add notification level to namespace root storage statistics
   up     20220318111040  Add indexes for primary email second cleanup migration
   up     20220318111729  Cleanup after fixing issue when admin changed primary email
   up     20220318111949  Drop temporary indexes for primary email migration second cleanup
   up     20220318120802  Add target platforms to project setting
   up     20220318141037  Add pages onboarding state
   up     20220321025720  Alter constraint remote import url
   up     20220321150028  Add started at to batched background migrations table
   up     20220321201912  Remove user email lookup limit
   up     20220321234317  Remove all issuable escalation statuses
   up     20220322023800  Add tmp index routes id for project namespaces
   up     20220322035654  Add migration plan index to container repositories
   up     20220322071127  Finalize project namespaces backfill
   up     20220322094410  Remove wiki notes
   up     20220322132242  Update pages onboarding state
   up     20220322143441  Add dora incidents count
   up     20220322205004  Change search rate limit default values
   up     20220322205008  Change search rate limit values
   up     20220323023800  Backfill namespace id for project routes
   up     20220323130000  Add temp index on null project namespace ids
   up     20220323152202  Add index on visible deployments
   up     20220324032250  Migrate shimo confluence service category
   up     20220324081709  Fix and backfill project namespaces for projects with duplicate name
   up     20220324091224  Add enforce auth checks on uploads to project settings
   up     20220324110247  Untrack deletions on ci job artifacts
   up     20220324165436  Schedule backfill project settings
   up     20220324171254  Add public git lab runner releases url to application settings
   up     20220324173554  Add text limit to public git lab runner releases url application settings
   up     20220324175325  Add key data to secure files
   up     20220324180717  Remove project pages metadata artifacts archive id column
   up     20220325000000  Prepare index for ci job artifacts unlocked with expire at
   up     20220325000001  Finalize index for ci job artifacts unlocked with expire at
   up     20220325050642  Drop integrations template column
   up     20220325155953  Steal background job for fixing conflicting project names and paths
   up     20220325160153  Create unique index on projects name and namespace
   up     20220326161803  Add cascade delete fk on project namespace
   up     20220326163653  Add not null contraint to project namespace
   up     20220328095848  Delete failed reset duplicate ci runners token migration records
   up     20220328100456  Schedule20220328 reset duplicate ci runners token encrypted values on projects
   up     20220328100457  Schedule20220328 reset duplicate ci runners token values on projects
   up     20220329061545  Add repository size to plan limits
   up     20220329092245  Add password chars requirement to application settings
   up     20220329095632  Add theme to broadcast message
   up     20220329110630  Add ci namespace mirrors unnest index on traversal ids
   up     20220329130330  Add author to ci subscriptions projects
   up     20220329175119  Remove leftover ci job artifact deletions
   up     20220331074722  Add notes null discussion id temp index async
   up     20220331125725  Add title to topic
   up     20220331130726  Add text limit to topics title
   up     20220331133802  Schedule backfill topics title
   up     20220331174026  Add submit field to dast site profiles
   up     20220331174459  Add text limit to submit field dast site profiles
   up     20220401044858  Add user id and state index to merge request assignees
   up     20220401045116  Add user id and state index to merge request reviewers
   up     20220401045621  Remove state index on merge request assignees
   up     20220401045642  Remove state index on merge request reviewers
   up     20220401071609  Add campaign to in product marketing email
   up     20220401110443  Add on hold until column for batched migration
   up     20220401110511  Add runtime data columns to vsa aggregations
   up     20220401113123  Add check constraint to vsa aggregation runtime data columns
   up     20220401151123  Add last repository updated at to project repository state
   up     20220404114106  Add container registry size to project statistics
   up     20220404170446  Add index for non requested non invited awaiting members
   up     20220404183350  Add forbidden state index to users
   up     20220404184814  Drop broader expired artifact index
   up     20220404194649  Replace work item type backfill next batch strategy
   up     20220405061122  Add license scanning action to onboarding progresses
   up     20220405092619  Toggle vsa aggregations enable
   up     20220405125459  Add non migrated index to container repositories
   up     20220405181814  Add arkose settings to application settings
   up     20220405203843  Add text limit to arkose verify url application settings
   up     20220406113217  Add inactive project deletion to application settings
   up     20220406121831  Add index on status for batched background migrations
   up     20220406133049  Add delayed group deletion to application settings
   up     20220406193806  Add maven package requests forwarding to application settings
   up     20220407135820  Add epics relative position
   up     20220407163559  Schedule purging stale security scans
   up     20220408001450  Add work item type name unique index null namespaces
   up     20220408135815  Update index on greated done at on container repositories
   up     20220409160628  Add async index for events followed users
   up     20220411173544  Cleanup orphans approval project rules
   up     20220412044906  Finalize traversal ids background migrations
   up     20220412060931  Add nullify build data trigger on merge request metrics
   up     20220412135446  Add unique fingerprint sha256 index to key
   up     20220412140446  Add unique fingerprint sha256 index to group deploy key
   up     20220412140755  Drop unique fingerprint md5 index from key
   up     20220412141020  Drop unique fingerprint md5 index from group deploy key
   up     20220412143551  Add partial index on unencrypted integrations
   up     20220412143552  Consume remaining encrypt integration property jobs
   up     20220412171810  Add otp secret expires at
   up     20220413011328  Remove partial index on unencrypted integrations
   up     20220413054910  Backfill delayed group deletion
   up     20220413075921  Update index on packages build infos
   up     20220413124200  Add view for per table autovacuum status
   up     20220413164146  Remove max seats used indices
   up     20220413235818  Add max seats used changed at to gitlab subscriptions
   up     20220414203622  Add index for columns user custom attribute
   up     20220415015143  Replace iterations cadence date range constraint
   up     20220415124802  Remove job artifact deprecated geo fields
   up     20220415124804  Remove job artifact deleted event table
   up     20220418180958  Remove integrations properties
   up     20220419223906  Add arkose namespace to application settings
   up     20220420034519  Add text limit to in product marketing email campaign
   up     20220420061439  Add notes null discussion id temp index
   up     20220420061450  Backfill null note discussion ids
   up     20220420135245  Fix batched background migration default arguments
   up     20220420135946  Update batched background migration arguments
   up     20220420173247  Add group inheritance type to pe authorizable
   up     20220420192542  Add id for cleanup index packages package files
   up     20220420214703  Schedule backfill draft status on merge requests corrected regex
   up     20220421114418  Make fingerprint nullable for group deploy key
   up     20220421141342  Add allowed plans to ci runners
   up     20220421144758  Change dotenv plan limits for old plans
   up     20220421180321  Add last cleanup deleted tags count to container repository
   up     20220422121443  Add async index for group activity events
   up     20220422200633  Fix view for per table autovacuum status
   up     20220422220507  Remove tmp index supporting leaky regex cleanup
   up     20220425111114  Add async index for project activity events
   up     20220425111453  Add async index to events on group id and
   up     20220425120604  Create packages cleanup policies
   up     20220425121410  Add temporary index for backfill integrations enable ssl verification
   up     20220425121435  Backfill integrations enable ssl verification
   up     20220426130217  Add max export size to application settings
   up     20220426185933  Backfill deployments finished at
   up     20220428133724  Schedule expire o auth tokens
   up     20220502015011  Clean up fix merge request diff commit users
   up     20220502125053  Recreate index for project group link with group id and project
   up     20220502150408  Add slack integrations bot columns
   up     20220502152633  Add slack integrations bot user id text limit
   up     20220502173045  Reset too many tags skipped registry imports
   up     20220503035221  Add gitlab schema to batched background migrations
   up     20220503035437  Add text limit to batched background migrations gitlab schema
   up     20220503073401  Recreate index for group group link with both group ids
   up     20220503102855  Add namespace ci cd settings table
   up     20220503114353  Prepare confidential note index
   up     20220503134610  Remove requirements management test reports requirement
   up     20220504042847  Add slack signing key to application settings
   up     20220504083348  Add indexes for primary email post regression cleanup migration
   up     20220504083836  Cleanup after fixing regression with new users emails
   up     20220504084136  Drop temporary indexes for primary email post regression cleanup
   up     20220504140036  Add container registry size to namespace root storage statistics
   up     20220505022001  Add index to deployments on created at cluster id and project
   up     20220505044348  Fix automatic iterations cadences start date
   up     20220505053504  Remove namespaces id parent id inverse partial index
   up     20220505060011  Remove namespaces id parent id partial index
   up     20220505092254  Add allow stale runner pruning index to namespace ci cd settings
   up     20220505174658  Update index on alerts to exclude null fingerprints
   up     20220505193512  Add not null constraint to issues work item type
   up     20220506123922  Add not null constraint without validation to requirements issue
   up     20220506124021  Schedule populate requirements issue
   up     20220506154054  Create sync namespace details trigger
   up     20220506180411  Add index to vulnerability feedback finding uuid
   up     20220506201639  Remove devops adoption security scan succeeded column
   up     20220507204024  Add separated caches option to project ci settings
   up     20220510003916  Remove tmp empty traversal ids root namespace index
   up     20220510004501  Remove tmp empty traversal ids child namespace index
   up     20220510121338  Remove threat monitoring alerts
   up     20220510192117  Index expirable unknown artifacts for removal
   up     20220511090324  Add last consistency check cursors to vsa aggregations
   up     20220511144946  Add work item parent child table
   up     20220511151646  Add exclude from free user cap to namespace settings
   up     20220511152439  Remove not null constraint from work item type
   up     20220511191502  Add registry migration guard thresholds to application settings
   up     20220511191503  Add pipeline create limit per project user sha to application settings
   up     20220511212620  Add index on expirable unknown artifacts for removal
   up     20220512020500  Index batched migrations on gitlab schema and configuration
   up     20220512190659  Remove web hooks web hook logs web hook id fk
   up     20220513043344  Reschedule expire o auth tokens
   up     20220513093614  Add ding talk into application settings
   up     20220513093615  Add ding talk tracker data
   up     20220513095545  Create timelog categories
   up     20220513114706  Add jira connect application id application setting
   up     20220513114850  Add text limit to jira connect application id application setting
   up     20220516054002  Temp index for project namespace member backfill
   up     20220516054011  Schedule backfill project member namespace
   up     20220516092207  Add globally allowed ips to application setting
   up     20220516100652  Drop compliance management frameworks regulated
   up     20220516103353  Finalize routes backfilling for projects
   up     20220516123101  Add text limit to globally allowed ips on application settings
   up     20220516201245  Add security policy scan execution schedules to plan limits
   up     20220517101119  Create confidential notes index synchronously
   up     20220517133753  Migrate free user cap remediation
   up     20220517144749  Remove vulnerability approval rules
   up     20220517182529  Create vulnerability state transition
   up     20220518102414  Add index to error tracking client keys
   up     20220518183504  Create ssh signatures
   up     20220518183548  Add projects relation to ssh signatures
   up     20220519013213  Create cluster enabled grants
   up     20220519045133  Bulk insert cluster enabled grants
   up     20220519141345  Add job artifact id on refresh start to build artifacts size refresh
   up     20220520030504  Drop index namespaces on name
   up     20220520040416  Schedule set legacy open source license available for non public projects
   up     20220520120637  Add installable conan packages index to packages
   up     20220520122755  Unlock delayed project removal
   up     20220520143105  Add keys relation to ssh signatures
   up     20220520144821  Add registry migration pre import tags rate to application settings
   up     20220523030804  Add web hook calls med and max to plan limits
   up     20220523030805  Add web hook calls to plan limits paid tiers
   up     20220523162734  Add vulnerability reads casted cluster agent column
   up     20220523163734  Update vulnerability reads trigger functions
   up     20220523164734  Add foreign key to vulnerability reads casted cluster agent
   up     20220523165734  Add index to vulnerability reads casted cluster agent
   up     20220523171107  Drop deploy tokens token column
   up     20220524021855  Add deleted at to terraform states
   up     20220524074947  Finalize backfill null note discussion ids
   up     20220524080944  Cleanup orphaned routes
   up     20220524081955  Remove notes null discussion id temp index
   up     20220524132416  Prepare job artifact project id index
   up     20220524141800  Create audit events streaming headers
   up     20220524164122  Limit project and group variables
   up     20220524184149  Create sync project namespace details trigger
   up     20220524191259  Add application settings container registry pre import tags rate constraint
   up     20220524202158  Drop index on deployments on created at cluster id and project
   up     20220525082303  Create issuable resource links
   up     20220525084153  Add sentry project id to project error tracking settings
   up     20220525123825  Add raw to ci pipeline variables
   up     20220525123851  Add raw to ci group variables
   up     20220525123914  Add raw to ci instance variables
   up     20220525123940  Add raw to ci job variables
   up     20220525124104  Add raw to ci pipeline schedule variables
   up     20220525124125  Add raw to ci variables
   up     20220525131557  Cleanup backfill integrations enable ssl verification
   up     20220525131624  Drop temporary index for backfill integrations enable ssl verification
   up     20220525141540  Migrate project service worker queue
   up     20220525165334  Migrate irker worker queue
   up     20220525172001  Migrate cluster integration worker queues
   up     20220525201022  Add temporary index for vulnerability reads cluster agent id migration
   up     20220525221133  Schedule backfill vulnerability reads cluster agent
   up     20220526042017  Remove geo lfs object deleted event references
   up     20220526044516  Remove geo lfs object deleted events table
   up     20220530044712  Add index for vulnerability reads location image
   up     20220530074027  Add project id index to job artifacts
   up     20220530082653  Add traversal id type group index
   up     20220530103023  Add created at and id index to deployment approvals
   up     20220530104431  Add timestamps to compliance frameworks
   up     20220530170915  Add index for vulnerability state transition
   up     20220531024142  Track clusters deletions
   up     20220531024143  Remove clusters deployments cluster id fk
   up     20220531024905  Add operations access levels to project feature
   up     20220531035113  Populate operation visibility permissions
   up     20220531100920  Add license usage data exported to application settings
   up     20220531140515  Add applies to all protected branches to approval project rule
   up     20220531233600  Remove sse usage data from redis
   up     20220601040233  Finalize backfill issue search data
   up     20220601091804  Add semver column to ci runners
   up     20220601091805  Add text limit to ci runners semver
   up     20220601101800  Add index on runner id and semver columns
   up     20220601110011  Schedule remove self managed wiki notes
   up     20220601151900  Schedule backfill ci runner semver
   up     20220601152916  Add user id and ip address success index to authentication events
   up     20220601223501  Add vulnerability related columns
   up     20220602070502  Queue backfill project feature package registry access level
   up     20220602111923  Prepare index for open issues count
   up     20220602130306  Add namespace type index
   up     20220603095158  Drop ci build report results build id sequence
   up     20220603125200  Add show diff preview in email to namespace settings
   up     20220603173103  Update vulnerabilities project id id index
   up     20220605170009  Add url vars to web hook
   up     20220606054503  Add tmp index job artifacts id and expire at
   up     20220606060825  Set on delete cascade on namespace id on routes table
   up     20220606060850  Add not null constraint on routes namespace
   up     20220606080509  Fix incorrect job artifacts expire at
   up     20220606082910  Add tmp index for potentially misassociated vulnerability occurrences
   up     20220607011733  Add phone verification code enabled to application settings
   up     20220607082910  Add sync tmp index for potentially misassociated vulnerability occurrences
   up     20220607095219  Drop ci pipelines config pipeline id sequence
   up     20220607115703  Drop ci job artifact states job artifact id sequence
   up     20220607140222  Remove invalid integrations
   up     20220608074738  Add max repository downloads limit to application settings
   up     20220608114734  Prepare confidential note index on
   up     20220609150626  Add partial index on slack integrations with bot user
   up     20220609195803  Remove deployment clusters cluster id fk
   up     20220610074326  Add epic issue weight
   up     20220610125248  Add enabled git access protocol to namespace settings
   up     20220610140605  Change public projects cost factor
   up     20220610223040  Add index on available pypi packages
   up     20220613054349  Add unique project download limit settings to namespace settings
   up     20220613095911  Create confidential notes index on
   up     20220613112029  Add namespace id to protected branches
   up     20220613112030  Add namespace id indexes foreign key to protected branches
   up     20220613112031  Add group or project constraint in protected branches
   up     20220613112032  Change project id null in protected branches
   up     20220614095912  Add has vulnerabilities to cluster agents
   up     20220614120415  Add toggle opt in jwt
   up     20220614185644  Update index vulnerabilities project id
   up     20220615091059  Add created at index to compliance management frameworks
   up     20220615105811  Add index on clusters agent project id and has vulnerabilities columns
   up     20220615154500  Schedule backfill cluster agents has vulnerabilities
   up     20220615172230  Add user preference to turn off automatic lists
   up     20220616092541  Prepare index issues on project id and closed at
   up     20220616171355  Update vulnerabilities project id id active cis index
   up     20220616182001  Create sbom components
   up     20220616182015  Create sbom component versions
   up     20220616182016  Create sbom sources
   up     20220616182038  Create sbom occurrences
   up     20220616183240  Add sbom component versions foreign key to sbom occurrences
   up     20220616183309  Add sbom source foreign key to sbom occurrences
   up     20220616183310  Add project foreign key to sbom occurrences
   up     20220616222253  Remove ci secure files permissions column
   up     20220617073407  Add index for open issues count
   up     20220617123022  Add unique index on projects on runners token
   up     20220617123034  Add unique index on projects on runners token encrypted
   up     20220617123105  Drop index on projects on runners token
   up     20220617123113  Drop index on projects on runners token encrypted
   up     20220617123135  Drop temp index on projects on id and runners token
   up     20220617123144  Drop temp index on projects on id and runners token encrypted
   up     20220617141347  Create ci secure file states
   up     20220617142124  Add index on installable package files
   up     20220617143228  Replace packages index on project id and status
   up     20220619182308  Create project relation exports
   up     20220619184931  Create project relation export uploads
   up     20220619212618  Add selective code owner removals to project settings
   up     20220620060633  Finalize orphaned routes cleanup
   up     20220620132300  Update last run date for iterations cadences
   up     20220620151740  Add indexes issues on project id and closed at
   up     20220621040800  Backfill imported issue search data
   up     20220621082245  Remove tmp index on routes namespace id column
   up     20220621092245  Validate not null constraint on routes namespace id column
   up     20220621192541  Add project id state severity default branch index for vulnerabilities
   up     20220621202616  Add partial index on oauth access tokens revoked at
   up     20220622070547  Add temp index for container registry size migration
   up     20220622080547  Backfill project statistics with container registry size
   up     20220624062300  Delete backfill ci runner semver migration
   up     20220624081524  Add ci runner versions table
   up     20220624090458  Add index on runner version
   up     20220627061008  Add fei shu integration
   up     20220627090231  Schedule disable legacy open source license for inactive public projects
   up     20220627122229  Create user namespace callouts
   up     20220627122230  Add foreign keys to user namespace callouts
   up     20220627140315  Add last feature flag updated at to operations feature flags clients
   up     20220627152642  Queue update delayed project removal to null for user namespace
   up     20220627171538  Add error tracking settings
   up     20220627223041  Add post migrate test table
   up     20220628012902  Finalise project namespace members
   up     20220628110214  Add namespace id column to issues table
   up     20220628110823  Add issues namespace id fk and index
   up     20220628111752  Drop token index from ci builds
   up     20220628120708  Create namespace bans
   up     20220628121644  Add namespace bans namespace id foreign key
   up     20220628121712  Add namespace bans user id foreign key
   up     20220628122622  Rename builds sidekiq queues to namespaces
   up     20220629124942  Remove vulnerability occurrences migrated to new structure column
   up     20220629184402  Unset escalation policies for alert incidents
   up     20220629220129  Increase webauthn xid length
   up     20220630050050  Index vulnerability reads on casted cluster agent id full
   up     20220630085003  Drop project successfull pages deploy index from ci builds
   up     20220630091409  Add index on events for contribution analytics optimization
   up     20220630151641  Schedule set correct vulnerability state
   up     20220630202329  Add partial index on oauth access tokens revoked at with order
   up     20220701085523  Schedule index on events for contribution analytics optimization
   up     20220701173859  Remove not null constraints from requirements
   up     20220703182234  Add findings partition number to security scans
   up     20220703182254  Add partition number to security findings
   up     20220703182314  Add check constraint for security findings partition number
   up     20220704034050  Add users allowlist to git rate limits
   up     20220704034105  Add application settings git users allowlist max usernames constraint
   up     20220704044408  Remove foreign key in project tracing settings
   up     20220704045440  Drop project tracing settings table
   up     20220705114635  Drop index on ci runner versions on version
   up     20220705145349  Add project import level to namespace settings
   up     20220705180843  Validate requirements issue id not null
   up     20220706065245  Remove foreign key in clusters applications elastic stacks
   up     20220706065611  Remove foreign key in clusters integration elasticstack
   up     20220706070804  Drop clusters applications elastic stacks table
   up     20220706071304  Drop clusters integration elasticstack table
   up     20220706115138  Create async index on security findings
   up     20220706122719  Create index on security findings uuid id desc
   up     20220706132238  Add indices on security scans info column
   up     20220706145113  Backfill namespace id on issues
   up     20220706191627  Add encrypted error tracking access token
   up     20220707075300  Reschedule backfill imported issue search data
   up     20220707105335  Rename chat name service id to integration
   up     20220707105529  Cleanup chat name service
   up     20220707160707  Rename slack integration service id to integration
   up     20220707160921  Cleanup slack integration service
   up     20220707181910  Create member roles
   up     20220707181920  Add member role id to members
   up     20220707181930  Add member roles relation to members
   up     20220707190546  Add plan limits max size cyclonedx report column
   up     20220707192420  Remove tmp idx merge requests draft and status
   up     20220708100508  Drop index on ci runner versions on status
   up     20220708100532  Add unique index on ci runner versions on status and version
   up     20220708132701  Create vulnerability merge request links
   up     20220708142744  Add composite index for protected environments
   up     20220708142803  Add composite index for protected environment approval rules
   up     20220708150315  Add vulnerabilities foreign key to vulnerability merge request links
   up     20220708150335  Add merge requests foreign key to vulnerability merge request links
   up     20220708184822  Cleanup backfill draft status on merge requests
   up     20220711142148  Add invitation flow enforcement to application settings
   up     20220712025712  Update insert or update vulnerability reads function
   up     20220712031923  Create vulnerability reads for an existing vulnerability record
   up     20220712094945  Add include for free user cap preview to namespace settings
   up     20220712131513  Rename issue tracker data service id to integration
   up     20220712131533  Cleanup issue tracker data service
   up     20220712144843  Rename jira tracker data service id to integration
   up     20220712144900  Cleanup jira tracker data service
   up     20220712175029  Add index with target type to todos
   up     20220712181304  Remove deprecated indexes from todos
   up     20220713133515  Cleanup backfill draft statuses on merge requests
   up     20220713175658  Add packages cleanup policies worker capacity to application settings
   up     20220713175737  Add application settings packages cleanup policies worker capacity constraint
   up     20220713175812  Add enabled policies index to packages cleanup policies
   up     20220714105122  Update default project import level on namespace settings
   up     20220714122311  Add async index on security findings id and partition number
   up     20220714122418  Add async index on security findings unique columns
   up     20220714142424  Update trigger update vulnerability reads on vulnerability update
   up     20220715054506  Add parent link unique work item index
   up     20220715152108  Backfill project import level
   up     20220715160023  Drop post migration test table
   up     20220715163254  Update notes in past
   up     20220715185348  Add index on security findings id and partition number
   up     20220715185436  Add index on security findings unique columns
   up     20220715190612  Drop index on security findings uuid and scan
   up     20220715191629  Change primary key of security findings table
   up     20220718083945  Add unique project download limit allowlist to namespace settings
   up     20220719081542  Drop queued at index from ci builds
   up     20220719165537  Remove ci runners semver column
   up     20220720090354  Remove pending builds covering index from ci builds
   up     20220720121421  Remove pat and ssh enforcement columns from application settings
   up     20220720123249  Remove token column from ci builds
   up     20220720161816  Add namespace id to vulnerability reads table
   up     20220720162123  Update vulnerability reads triggers to set namespace
   up     20220720171102  Add index on vulnerability reads namespace
   up     20220720171801  Add foreign key on vulnerability reads namespace
   up     20220720210446  Add start date to issues table
   up     20220721031446  Schedule disable legacy open source license for one member no repo projects
   up     20220721065723  Add issue branch template to project settings
   up     20220721140252  Prepare partial trigram indexes for issues
   up     20220722084543  Schedule disable legacy open source license for no issues no repo projects
   up     20220722110026  Reschedule set legacy open source license available for non public projects
   up     20220722123318  Update delayed deletion period
   up     20220722145845  Schedule backfilling the namespace id for vulnerability reads
   up     20220722150231  Create function gitlab schema prevent write
   up     20220722203840  Update lock writes function disabled via setting
   up     20220723120039  Add author id to vulnerability state transitions
   up     20220725150127  Update jira tracker data deployment type based on url
   up     20220726025516  Add namespace settings unique project download limit allowlist size constraint
   up     20220726154012  Ensure sbom occurrences is empty
   up     20220726154013  Add component id to sbom occurrences
   up     20220726154014  Add index to sbom occurrences component
   up     20220726154015  Add component foreign key to sbom occurrences
   up     20220726154016  Make component version nullable
   up     20220726171440  Create ghost user migrations
   up     20220726171450  Add user fk to ghost user migrations
   up     20220726182310  Add user fk to vulnerability state transitions
   up     20220726225114  Remove tmp index group membership namespace id column
   up     20220726230052  Remove tmp index project membership namespace id column
   up     20220728114136  Make ssh signature key nullable
   up     20220728134255  Update index vulnerabilities common finder
   up     20220729033851  Add partial legacy open source license available index
   up     20220729052031  Add index on vulnerability reads namespace id with report type
   up     20220729073603  Index personal access tokens on id and created at
   up     20220801144713  Add partial trigram index for issue title
   up     20220801150028  Add partial trigram index for issue description
   up     20220801155858  Schedule disable legacy open source licence for recent public projects
   up     20220802112102  Schedule migrate shared vulnerability scanners
   up     20220802114351  Reschedule backfill container registry size into project statistics
   up     20220802132158  Index on integration type new id when active and has group
   up     20220802154757  Add deactivate dormant user time setting
   up     20220802200719  Add user details profile fields
   up     20220802202505  Add user details field limits
   up     20220802204737  Remove deactivated user highest role stats
   up     20220803004853  Add auto ban user to namespace settings
   up     20220803042351  Add tmp index todos attention request action
   up     20220803042352  Cleanup mr attention request todos
   up     20220803145637  Create user project callout
   up     20220803154543  Add project id fkey for user project callout
   up     20220803154758  Add user id fkey for user project callout
   up     20220803235114  Add auto ban user to application settings
   up     20220804235614  Add comment to vulnerability state transitions
   up     20220805001210  Add text limit to vulnerability state transitions comment
   up     20220805154101  Add allow run pipelines in the parent project setting
   up     20220805180311  Add unique index on sbom component type and name
   up     20220805183952  Add unique index to sbom component versions on component id and version
   up     20220805193117  Add unique index to sbom sources on source type and source
   up     20220808072054  Prepare index removal security findings
   up     20220808131659  Remove ci namespace monthly usages additional amount available column
   up     20220808133824  Add timestamps to project statistics
   up     20220808190124  Add id token to ci builds metadata
   up     20220808194857  Remove description html limit
   up     20220809002011  Schedule destroy invalid group members
   up     20220809214730  Add note metadata temp index on id where task
   up     20220809223215  Change task system note wording to checklist item
   up     20220810093742  Add async tmp index job artifacts id and expire at
   up     20220811092243  Create ml experiments
   up     20220811092244  Create ml candidates
   up     20220811092245  Create ml candidate params
   up     20220811092246  Create ml candidate metrics
   up     20220811092251  Add ml candidates reference to experiment
   up     20220811092253  Add ml experiments reference to project
   up     20220815061621  Rename web hooks service id to integration
   up     20220815152905  Create vulnerability advisories
   up     20220816075638  Drop uuid and id index from security findings
   up     20220816135816  Create sbom vulnerable component versions
   up     20220816163444  Update start date for iterations cadences
   up     20220817122907  Re add show diff preview in email to project settings
   up     20220818095225  Add max pages custom domains per project
   up     20220818125332  Add jitsu tracking columns to application settings
   up     20220818125703  Add jitsu tracking columns to application settings text limits
   up     20220818132108  Add deleted on to ml experiments
   up     20220818140553  Add unique index to sbom occurrences on ingestion attributes
   up     20220819153725  Add vulnerability advisory foreign key to sbom vulnerable component versions
   up     20220819162852  Add sbom component version foreign key to sbom vulnerable component versions
   up     20220819184945  Add dashboard limit to application settings
   up     20220820221036  Update tmp non migrated index on container repositories
   up     20220822071909  Remove other role from user details
   up     20220822090656  Drop build coverage regex from project
   up     20220822094804  Add issues authorization index
   up     20220822102651  Add namespace id to broadcast message
   up     20220822103638  Add index and foreign key to broadcast message
   up     20220823084747  Prepare removal partial trigram indexes for issues
   up     20220824082427  Remove tmp idx vulnerability occurrences on id and scanner
   up     20220824114218  Add tmp index approval merge request rules
   up     20220824175648  Limit namespaces sync triggers to traversal ids update
   up     20220824194103  Remove existing work item type backfill migrations
   up     20220825061250  Drop tmp index todos attention request action idx
   up     20220825105631  Add cube api key to application settings
   up     20220825134827  Remove not null constraint for confidence columns
   up     20220825142324  Replace issues authorization index
   up     20220826152430  Remove container repository deprecated geo fields
   up     20220826152432  Remove container repository updated events
   up     20220826165048  Drop temporary job trace index
   up     20220826175058  Fully remove temporary job trace index
   up     20220828094411  Add rpm max file size to plan limits
   up     20220828131848  Create packages rpm metadata
   up     20220829183356  Replace index on credit card validations
   up     20220830051704  Add temporary index for orphaned invited members
   up     20220830061704  Orphaned invited members cleanup
   up     20220830071704  Remove temporary index for orphaned invited members
   up     20220830082928  Add text limit to cube api base url
   up     20220830114228  Create dora configuration table
   up     20220830172142  Reschedule issue work item type id backfill
   up     20220831021358  Add index on issue health status
   up     20220831090454  Cleanup web hooks service
   up     20220831132802  Delete approval rules for vulnerability
   up     20220831182105  Add constraints view
   up     20220901035722  Add temp project member index
   up     20220901035725  Schedule destroy invalid project members
   up     20220901071310  Add tmp index user callouts on attention request feature names
   up     20220901071355  Cleanup attention request user callouts
   up     20220901073300  Remove partial trigram indexes for issues
   up     20220901090004  Add can create group to application settings
   up     20220901092853  Update can create group application setting
   up     20220901114501  Only allow merge if all status checks passed
   up     20220901124637  Add last downloaded at to packages
   up     20220901131828  Add environments project name lower pattern ops index
   up     20220901184106  Add not null to board group recent visits
   up     20220901184246  Add not null to board project recent visits
   up     20220901212027  Add merge request id to environments
   up     20220902065314  Create ci partitions
   up     20220902065316  Create default partition record
   up     20220902065317  Add partition id to ci builds
   up     20220902065558  Add partition id to ci builds metadata
   up     20220902065611  Add partition id to ci job artifacts
   up     20220902065623  Add partition id to ci pipelines
   up     20220902065635  Add partition id to ci stages
   up     20220902065647  Add partition id to ci pipeline variables
   up     20220902111016  Delete null records from board group recent visits
   up     20220902111038  Delete null records from board project recent visits
   up     20220902165931  Index evironments on merge request
   up     20220902170131  Add fk constraint to environments merge request
   up     20220902204048  Move security findings table to gitlab partitions dynamic schema
   up     20220904173342  Validate not null constraint board group recent visits
   up     20220904173430  Validate not null constraint board project recent visits
   up     20220905090300  Add tmp index merge request reviewers attention request state
   up     20220905090339  Reset attention requested merge requests reviewers state to unreviewed
   up     20220905112710  Add async index to todos to cover pending query
   up     20220905120848  Backfill epic cache counts
   up     20220906074449  Schedule disable legacy open source license for projects less than one mb
   up     20220906093857  Add column branch filter strategy to web hooks
   up     20220906155105  Add start time and end time and status to ml candidates
   up     20220906204832  Add locked to ci pipeline artifacts
   up     20220906212931  Add partial index for ci pipeline artifacts unlocked with expire at
   up     20220907115806  Add security orchestration policy configuration
   up     20220907122648  Populate security orchestration policy configuration
   up     20220907124320  Add internal to notes
   up     20220908125146  Remove free user cap remediation worker
   up     20220908150054  Add runner registration enabled to namespace settings
   up     20220909091410  Add dismissal reason to vulnerability state transitions
   up     20220909094752  Add free user cap over limt notified at to namespace details
   up     20220909113809  Add environments project name lower pattern ops state index
   up     20220909114220  Drop environments project name lower pattern ops index
   up     20220912085047  Add index to todos pending query
   up     20220912110433  Prepare create internal notes index on
   up     20220912153839  Create packages rpm repository file
   up     20220912180807  Add epoch column to rpm metadata
   up     20220913030552  Add tmp index system note metadata on attention request actions
   up     20220913030624  Cleanup attention request related system notes
   up     20220913043728  Create user phone number validations
   up     20220913082728  Drop index cadence create iterations automation
   up     20220913082824  Finalize invalid group member cleanup
   up     20220913082930  Rename iterations cadences last run date to next run date
   up     20220913083015  Clean up rename iterations cadences last run date to next run date
   up     20220913084123  Add timestamp to ml candidate metrics
   up     20220914005141  Change namespace id not null in members
   up     20220914010233  Change members namespace foreign key on delete constraint
   up     20220914070927  Finalize invalid project member cleanup
   up     20220914080716  Add index to candidate id and name on ml candidate params
   up     20220914093408  Add unique id partition id index to ci build metadata
   up     20220914112457  Add reject non dco commits to push rules
   up     20220914130800  Add jitsu key to projects
   up     20220914131449  Add text limit to projects jitsu key
   up     20220914174705  Remove not null constraint from sbom source fingerprint
   up     20220915103831  Add unique build id partition id index to ci build metadata
   up     20220915140802  Create merge request predictions
   up     20220915192521  Prepare async trigram index for vulnerability reads container images
   up     20220916054103  Remove experience level column
   up     20220916065418  Add index id partition id to ci builds metadata
   up     20220916070101  Add index build id partition id to ci build metadata
   up     20220916094641  Add source id to bulk import entities
   up     20220916103311  Add index on jira connect installations instance url
   up     20220916112841  Remove unused aggregation columns
   up     20220918124223  Add suggested reviewers enabled to project settings
   up     20220919023208  Drop unused fields from merge request assignees
   up     20220919041604  Drop unused fields from merge request reviewers
   up     20220919050555  Drop tmp index user callouts on attention request feature names
   up     20220919062640  Add mirror branch regex to remote mirrors
   up     20220919080303  Delete migrate shared vulnerability scanners
   up     20220919080304  Reschedule migrate shared vulnerability scanners
   up     20220919225631  Add index packages packages on project id and lower version to packages
   up     20220920022404  Remove temp index null project namespace
   up     20220920081631  Prepare ci builds metadata for partitioning primary key
   up     20220920122121  Schedule index removal for ci builds metadata
   up     20220920124709  Backfill internal on notes
   up     20220920135356  Tiebreak user type index
   up     20220920135632  Add jira connect proxy url setting
   up     20220920135717  Add textlimit to jira connect proxy url setting
   up     20220920141001  Add index on internal notes
   up     20220920180451  Schedule vulnerabilities feedback migration
   up     20220920213504  Finalize task system note renaming
   up     20220920214524  Remove task system note rename temp index
   up     20220921093355  Schedule backfill namespace details
   up     20220921111823  Remove and add ci pipeline variables raw with new default
   up     20220921111831  Remove and add ci group variables raw with new default
   up     20220921111840  Remove and add ci instance variables raw with new default
   up     20220921111849  Remove and add ci job variables raw with new default
   up     20220921111857  Remove and add ci pipeline schedule variables raw with new default
   up     20220921111907  Remove and add ci variables raw with new default
   up     20220921144258  Remove orphan group token users
   up     20220921174815  Add secure files metadata
   up     20220921201347  Add maven package requests forwarding to namespace package settings
   up     20220922090236  Remove trace column from ci builds
   up     20220922143143  Schedule reset duplicate ci runners token values
   up     20220922143612  Add inbound ci job token project scope links
   up     20220922143634  Schedule reset duplicate ci runners token encrypted values
   up     20220922204106  Remove index for requested non invited awaiting members
   up     20220923052531  Remove tmp index merge request reviewers on attention requested state
   up     20220923060226  Remove tmp index system note metadata on attention request actions
   up     20220923103006  Add ci pipeline metadata title
   up     20220926023734  Add mirror branch regex to project settings
   up     20220927155407  Add column inbound job token scope enabled to ci cd setting
   up     20220927171740  Prepare for vulnerability occurrences uuid type transition
   up     20220928201920  Create project wiki repository states
   up     20220928225711  Schedule update ci pipeline artifacts locked status
   up     20220929081645  Tmp idx null member namespace
   up     20220929091500  Add tmp index vulns on report type
   up     20220929101947  Delete remove invalid member migration
   up     20220929171925  Add pypi package requests forwarding to namespace package settings
   up     20220929172356  Add npm package requests forwarding to namespace package settings
   up     20220929194453  Add index releases project id
   up     20220929213730  Schedule delete orphaned operational vulnerabilities
   up     20220930110127  Remove unique index build id to ci builds metadata
   up     20220930125609  Add migrated to state transition to vulnerability feedback
   up     20221002234454  Finalize group member namespace id migration
   up     20221003151747  Create audit events streaming event type filters
   up     20221003192827  Add index resolved on default branch to vulnerabilities read
   up     20221004074910  Routing table prepare constraint for builds metadata
   up     20221004074914  Create routing table for builds metadata
   up     20221004092038  Tmp index members on id where namespace id null
   up     20221004094814  Schedule destroy invalid members
   up     20221005072353  Create incident management timeline event tags
   up     20221005094926  Create incident management timeline event tag links
   up     20221005103000  Add index merge request id on scan finding approval merge request rules
   up     20221005103010  Add index project id on scan finding approval project rules
   up     20221006070927  Finalize invalid member cleanup
   up     20221006083240  Prepare partial trigram indexes for issues attempt 2
   up     20221006131506  Add free user cap over limit notified at to namespace details
   up     20221006141145  Add targets to elastic reindexing tasks
   up     20221006172302  Adjust task note rename background migration values
   up     20221008032350  Add password expiration migration
   up     20221009085130  Add mr checks columns to namespace settings
   up     20221010074914  Migrate security findings delete queues
   up     20221010103207  Add product analytics enabled to application settings
   up     20221010121510  Prepare async index author id target project id on merge requests
   up     20221010121807  Add compliance framework id to namespace settings
   up     20221010122138  Add async index author id target project id on merge requests
   up     20221010122352  Add index to namespace settings on default compliance framework
   up     20221010123040  Add compliance framework fk to namespace settings
   up     20221010141500  Add index author id target project id on merge requests
   up     20221010162137  Add index author id and id on merge requests
   up     20221010184839  Add new amount used to ci project monthly usages
   up     20221010191136  Add access level to ci job artifacts
   up     20221010201815  Add purl type to sbom components
   up     20221010202339  Remove unique index on sbom components type and name
   up     20221010202408  Add unique index on sbom components type name and purl type
   up     20221011062254  Sync new amount used for ci project monthly usages
   up     20221011113928  Redo remove and add ci job variables raw with new default
   up     20221011162637  Add partial index project incident management settings on project id and sla timer
   up     20221011210455  Add use legacy web ide to user preferences
   up     20221012033107  Add password last changed at to user details
   up     20221012135524  Add scan file path limit for dast site profile
   up     20221012182701  Remove namespace settings cohort free user cap columns
   up     20221013103738  Add disable admin oauth scopes
   up     20221013154159  Update invalid dormant user setting
   up     20221013215832  Cleanup vulnerability state transitions with same from state to state
   up     20221014031033  Add temp index to project features where releases access level gt repository
   up     20221014034338  Populate releases access level from repository
   up     20221014190040  Drop notes note trigram index
   up     20221015000511  Add email confirmation setting to application settings
   up     20221017084208  Rename ci pipeline metadata title
   up     20221017084227  Cleanup rename ci pipeline metadata title
   up     20221018050323  Add objective and keyresult to work item types
   up     20221018062308  Schedule backfill project namespace details
   up     20221018081416  Members remove member namespace id not null constraint
   up     20221018092552  Add file name index to packages rpm repository files
   up     20221018095434  Schedule disable legacy open source license for projects less than five mb
   up     20221018124029  Add consume after to ghost user migrations
   up     20221018124035  Add consume after index to ghost user migrations
   up     20221018193635  Ensure task note renaming background migration finished
   up     20221018193827  Drop tmp index system note metadata on id where task
   up     20221018202524  Create dependency proxy blob states
   up     20221018232820  Add temp index for user details fields
   up     20221019002459  Queue backfill user details fields
   up     20221019102426  Remove tmp index approval merge request rules on report type
   up     20221019105041  Queue populate projects star count
   up     20221019141508  Add index to test reports issue id created at and
   up     20221019194751  Disable fastupdate on issues title gin index
   up     20221019195754  Disable fastupdate on issues description gin index
   up     20221019200033  Disable fastupdate on merge requests title gin index
   up     20221019200206  Disable fastupdate on merge requests description gin index
   up     20221020124018  Add delete started at to container repositories
   up     20221021082255  Add unique index on ci runners token
   up     20221021082312  Add unique index on ci runners token encrypted
   up     20221021082720  Drop index on ci runners token
   up     20221021082734  Drop index on ci runners token encrypted
   up     20221021145820  Create routing table for builds metadata v2
   up     20221021160735  Add index for common finder query desc with namespace
   up     20221021213216  Create namespace commit emails
   up     20221022213505  Add namespace commit emails namespace fk
   up     20221022213521  Add namespace commit emails email fk
   up     20221024034228  Remove sprints project id column
   up     20221024121500  Drop fingerprint from sbom sources
   up     20221025043930  Change default value on password last changed at to user details
   up     20221025105205  Add status and id index to container repositories
   up     20221025115006  Check vulnerabilities state transition from state not equal to state
   up     20221025145452  Change vulnerability feedback unique idx
   up     20221025150202  Add index for finding uuid and feedback type on feedback
   up     20221025220607  Add index id on scan finding approval merge request rules
   up     20221026095133  Add status updated at to container repository
   up     20221027124848  Add text limit to project settings mirror branch regex
   up     20221027203556  Delete experiment user foreign keys
   up     20221027203951  Drop experiment users table
   up     20221028000041  Remove invalid partial trigram indexes for issues
   up     20221028000603  Prepare partial trigram indexes for issues attempt 3
   up     20221028015347  Add commit committer name check to push rules
   up     20221028022627  Add index on password last changed at to user details
   up     20221028152422  Add finding data column to security findings
   up     20221031102916  Add users foreign key to projects
   up     20221101032521  Add default preferred language to application settings
   up     20221101032600  Add text limit to default preferred language on application settings
   up     20221101174816  Create package metadata
   up     20221101194416  Create package metadata versions
   up     20221101195309  Create package metadata licenses
   up     20221101195543  Create package metadata package version licenses
   up     20221101195903  Change email confirmation setting default
   up     20221101201031  Set email confirmation setting from send user confirmation email setting
   up     20221102090940  Create next ci partitions record
   up     20221102090943  Create second partition for builds metadata
   up     20221102150737  Index environments for name search within folder
   up     20221102195642  Create dependency proxy manifest states
   up     20221102202130  Extend x509 subject limit
   up     20221102225800  Add max seats used changed at index to gitlab subscriptions
   up     20221102231130  Finalize backfill user details fields
   up     20221102231131  Remove temp index for user details fields
   up     20221103073328  Change member namespace id not null
   up     20221103084213  Remove tmp index members on id where namespace id null
   up     20221103131409  Add partial index on primary key of security scans
   up     20221103150250  Migrate sidekiq queued jobs
   up     20221103205317  Create dast pre scan verification
   up     20221104042137  Add partial trigram index for issue title attempt 2
   up     20221104042159  Add partial trigram index for issue description attempt 2
   up     20221104061320  Add disable download button into application settings
   up     20221104074652  Add temp index for project statistics upload size migration
   up     20221104094042  Remove users foreign key to projects
   up     20221104100203  Recreate async trigram index for vulnerability reads container images
   up     20221104115712  Backfill project statistics storage size without uploads size
   up     20221104141647  Add index for non public top level groups to namespaces
   up     20221104170500  Add vulnerability reads all status index
   up     20221104190203  Validate environment id on deployments
   up     20221107013943  Add accepted reviewers to merge request predictions
   up     20221107094359  Recount epic cache counts
   up     20221107115247  Change scim identity group id remove null
   up     20221107115413  Change scim oauth access token group id remove null
   up     20221107183222  Create project wiki repositories
   up     20221107184542  Add new amount used to ci namespace monthly usages
   up     20221107184758  Sync new amount used for ci namespace monthly usages
   up     20221107220420  Validate not null constraint on member namespace
   up     20221107220526  Validate fk member namespace
   up     20221107222213  Remove old member namespace id fk
   up     20221108015813  Add telesign to application settings
   up     20221108045019  Truncate timeline event tags table
   up     20221108121322  Add supporting index for vulnerabilities feedback migration
   up     20221108185442  Add project wiki repository id to project wiki repository states
   up     20221108222015  Remove temp index on project features where releases access level gt repository
   up     20221109160052  Add default for approval project rules scanners
   up     20221110045406  Sanitize confidential note todos
   up     20221110080508  Add partition id to ci unit test failures
   up     20221110080636  Add partition id to ci sources pipelines
   up     20221110080748  Add partition id to ci build pending states
   up     20221110080822  Add partition id to ci build trace chunks
   up     20221110080913  Add partition id to ci build report results
   up     20221110080956  Add partition id to ci build needs
   up     20221110081037  Add partition id to ci builds runner session
   up     20221110081115  Add partition id to ci pending builds
   up     20221110081207  Add partition id to ci build trace metadata
   up     20221110081348  Add partition id to ci running builds
   up     20221110081448  Add partition id to ci job variables
   up     20221110100600  Add temp index on overlong vulnerability html title
   up     20221110100602  Queue truncate overlong vulnerability html titles
   up     20221110105857  Add index for in product marketing email metrics
   up     20221110150942  Add project id lower name index remove old index
   up     20221110152133  Delete orphans approval rules
   up     20221110183103  Add dashboard fields to namespace details
   up     20221110190340  Add partial legacy open source license available project id index
   up     20221111070314  Prepare removal of issue trigram indexes
   up     20221111123146  Add onboarding in progress to users
   up     20221111123147  Add onboarding step url to user details
   up     20221111123148  Add text limit to onboarding step url
   up     20221111135238  Create dependency list exports table
   up     20221111142921  Add hierarchy restrictions
   up     20221114131943  Add short title to appearances
   up     20221114142044  Delete experiments foreign keys
   up     20221114142602  Drop experiment subjects table
   up     20221114142616  Drop experiments table
   up     20221114145103  Add last seat refresh at to gitlab subscriptions
   up     20221114212908  Add debug trace to ci builds metadata
   up     20221115085813  Add limit to appereances short title
   up     20221115120602  Add index for issues health status ordering
   up     20221115173607  Ensure work item type backfill migration finished
   up     20221115184525  Remove namespaces tmp project id column
   up     20221116100056  Add foreign key to dependency list exports
   up     20221116105434  Remove index project settings on legacy open source license available
   up     20221116113323  Add index on team id and chat
   up     20221116124821  Add enterprise boolean to bulk imports
   up     20221116134507  Add projects emails enabled column
   up     20221116134539  Add namespaces emails enabled column
   up     20221116134611  Add namespaces emails enabled column data
   up     20221116134633  Add projects emails enabled column data
   up     20221116143854  Add okr hierarchy restrictions
   up     20221116160204  Create ml experiment metadata and ml candidate metadata
   up     20221116161126  Add auth signing type to keys
   up     20221117103015  Add async index author id created at on merge requests
   up     20221117135032  Remove clusters applications job instances
   up     20221117153015  Add index merge request id created at on scan finding approval merge request rules
   up     20221118103152  Finalize issues namespace id backfilling
   up     20221118103352  Add cascade delete fk on issues namespace
   up     20221118103752  Add not null contraint to issues namespace
   up     20221118104752  Validate not null contraint to issues namespace
   up     20221121000127  Index security scans on created at and id for non purged records
   up     20221121000451  Drop index security scans on id for non purged records
   up     20221121091238  Add work item progress
   up     20221121100431  Add partition id to ci resources
   up     20221121152048  Remove unused feedback migration index
   up     20221121152515  Add supporting index for vulnerabilities feedback migration2
   up     20221121155850  Change vulnerabilities state transitions comment limit
   up     20221121180138  Drop index on vulnerabilities state case
   up     20221121181627  Drop index on vulnerabilities state case id desc
   up     20221121184931  Validate not null contraint on issues work item type
   up     20221122063922  Remove issue title trigram index
   up     20221122064537  Remove issue description trigram index
   up     20221122132812  Schedule prune stale project export jobs
   up     20221122141046  Add allow pipeline trigger approve deployment to project settings
   up     20221122155149  Add index for paths on non projects
   up     20221122210711  Add columns to postgres foreign keys
   up     20221122225925  Set email confirmation setting before removing send user confirmation email column
   up     20221123133054  Queue reset status on container repositories
   up     20221124113925  Add pipeline hierarchy size to plan limits
   up     20221124153602  Add supporting index for vulnerabilities feedback comment proccessing
   up     20221125222221  Add metrics index to authentication events
   up     20221125222341  Remove result index from authentication events
   up     20221128120634  Schedule fixing security scan statuses
   up     20221128123514  Add source partition id to ci sources pipeline
   up     20221128155738  Add discord to user details
   up     20221128165833  Add discord field limit to user details
   up     20221128220043  Drop temp work item type id backfill index
   up     20221128222417  Add back issues work item type id index
   up     20221129124240  Remove flowdock integration records
   up     20221129192619  Increase self hosted attachment size limit
   up     20221130170433  Create dast pre scan verification step
   up     20221130182056  Add plan limits max size to requirements v2 artifact
   up     20221130192239  Fix approval project rules without protected branches
   up     20221202031332  Add index to issue assignees on user id and issue
   up     20221202031417  Remove index to issue assignees on user
   up     20221202144210  Create achievements
   up     20221202154128  Add pipeline metadata name index
   up     20221202154151  Remove pipeline metadata pipeline id index
   up     20221202202351  Remove index i ci job token project scope links on source and target project
   up     20221204090437  Add category to abuse report
   up     20221205061134  Add disable pats to application settings
   up     20221205134448  Set index for issues health status ordering
   up     20221205151917  Schedule backfill environment tier
   up     20221205170310  Add index for active members
   up     20221206012013  Add index author id created at on merge requests
   up     20221206075631  Add unique id partition id index to ci build
   up     20221206132610  Add unique token encrypted partition id index to ci build
   up     20221206163420  Add use new navigation to user preferences
   up     20221206173132  Add issues work item type id index
   up     20221206211814  Add authorized scopes to slack integration
   up     20221206222032  Add read code to member roles
   up     20221206235208  Add max terraform state size bytes to application settings
   up     20221207140259  Add bulk import enabled to application settings
   up     20221207220120  Create dast scanner profiles runner tags
   up     20221208122921  Remove constraints from ci resources for partition
   up     20221209110934  Update import sources on application settings
   up     20221209110935  Fix update import sources on application settings
   up     20221209174132  Remove sbom occurrences unique index
   up     20221209174157  Truncate sbom occurrences
   up     20221209235939  Add tmp index oauth access tokens on id where expires in null
   up     20221209235940  Cleanup o auth access tokens with null expires in
   up     20221210154044  Update active billable users index
   up     20221212054640  Add reported from to abuse reports
   up     20221212103743  Add index id partition id to ci build
   up     20221212192452  Add uuid column to sbom occurrences
   up     20221212192527  Index sbom occurrences on uuid
   up     20221213064717  Change default partition id on ci resources
   up     20221213105028  Add sync part step 2 of index namespaces on path for top level non projects
   up     20221213184314  Change enabled default in dependency proxy group settings
   up     20221214095129  Second recount epic cache counts
   up     20221214105307  Add token encrypted partition id index to ci build
   up     20221214201256  Create user achievements
   up     20221214204247  User achievements foreign keys
   up     20221215151822  Schedule backfill releases author
   up     20221215210347  Partition pm package metadata tables
   up     20221216131710  Add index to ci unit test failure
   up     20221216131935  Add index to ci build pending state
   up     20221216131958  Add index to ci build trace chunk
   up     20221216144854  Add foreign key to ci unit test failure
   up     20221216145659  Add pa clickhouse connection string to application settings
   up     20221216150304  Add foreign key to ci build pending state
   up     20221216150321  Add foreign key to ci build trace chunk
   up     20221216150919  Validate foreign key on ci unit test failure partition id build
   up     20221216151459  Validate foreign key on ci build pending state partition id build
   up     20221216151649  Validate foreign key on ci build trace chunk partition id build
   up     20221216232658  Index members on member namespace id compound
   up     20221216232659  Index members on member namespace id compound sync
   up     20221219103007  Add name to ml candidates
   up     20221219112528  Add text limit to name on ml candidates
   up     20221219112632  Add next over limit check at to namespace details
   up     20221219122320  Copy clickhouse connection string to encrypted var
   up     20221219135535  Add user defaults to private profile to application settings
   up     20221220075936  Add query index for ci pipeline schedules
   up     20221220131020  Bump default partition id value for ci tables
   up     20221221110733  Remove temp index for project statistics upload size migration
   up     20221221134116  Create elastic group index statuses
   up     20221221150123  Update billable users index
   up     20221221171239  Rename amount used column
   up     20221222092958  Sync new amount used with amount used
   up     20221222144954  Create analytics dashboards configuration pointers
   up     20221223114543  Add pwa icon to appearances
   up     20221223123019  Delete queued jobs for vulnerabilities feedback migration
   up     20221226105323  Add registration columns to ci runners
   up     20221226132038  Index ci runners on creator
   up     20221226153240  Remove chat names integration id foreign key
   up     20221226154458  Drop index on chat names on integration id and team id and chat
   up     20221226163203  Create ci runner machines
   up     20221227080606  Add text limit to pwa icon
   up     20221227100751  Add user index to chat names
   up     20221227100846  Add allow registration token to application settings
   up     20221227100908  Add allow registration token to namespace settings
   up     20221227101436  Drop index on chat names on user id and integration
   up     20221228063845  Add incident events to integrations
   up     20221228072549  Add pwa attributes to appearances
   up     20221228073206  Add text limit to pwa attributes
   up     20221228083452  Remove check constraint on chat names on integration
   up     20221228103133  Queue backfill admin mode scope for personal access tokens
   up     20221228161214  Rename appearances short title to pwa short name
   up     20221228163035  Cleanup appearances short title rename
   up     20221228210616  Add index on ci runners on runner type and
   up     20221229064959  Add links to spam to abuse reports
   up     20221229172604  Add runner registration enabled to project settings
   up     20230102131000  Add smtp credentials to service desk settings
   up     20230102131050  Add unique constraint for custom email to service desk settings
   up     20230102131100  Add text limits to smtp credentials on service desk settings
   up     20230102180341  Add merge request meta to merge requests compliance violations
   up     20230104103748  Remove new amount used column
   up     20230104150600  Add machine id to builds metadata
   up     20230104150601  Prepare builds metadata async idx
   up     20230104201524  Add zoekt shards and indexed namespaces
   up     20230104220137  Reindex vuln reads on default branch with common query
   up     20230104222438  Add partition index to builds metadata
   up     20230104222514  Add foreign key to builds metadata
   up     20230104224020  Drop vuln reads on default branch index
   up     20230105170414  Rename amount used column on ci namespace monthly usages table
   up     20230105172120  Sync new amount used with amount used on ci namespace monthly usages table
   up     20230105180002  Remove new amount used column on ci namespace monthly usages
   up     20230106014423  Add constraint to links to spam
   up     20230106124332  Change keys relation to ssh signatures
   up     20230106125945  Add user to ssh signatures
   up     20230106131659  Add fingerprint to ssh signatures
   up     20230106142239  Add config column to ci runner machines
   up     20230106184809  Create dast profiles tags
   up     20230107125328  Add zoekt indexed namespaces foreign key
   up     20230109093043  Create namespaces storage limit exclusions
   up     20230109095159  Add runner machines created at index
   up     20230109095622  Rename web hook calls to web hook calls high
   up     20230109100044  Cleanup web hook calls column rename
   up     20230109121313  Add runner machines contacted at index
   up     20230109144915  Remove push rules application settings push rule id fk
   up     20230109144928  Remove users application settings usage stats set by user id fk
   up     20230109144941  Remove namespaces application settings instance administrators group id fk
   up     20230109144953  Remove projects application settings file template project id fk
   up     20230109145005  Remove projects application settings instance administration project id fk
   up     20230109145018  Remove namespaces application settings custom project templates group id fk
   up     20230109215921  Add storage admin control columns to plan limits
   up     20230109232316  Create wiki repository states
   up     20230110031131  Add uses legacy iid to test reports
   up     20230110172751  Add partial index on group path
   up     20230110212906  Add on update action to postgres foreign keys
   up     20230111092510  Add migrate projects to bulk import entities
   up     20230111124512  Remove tmp index vulns on report type
   up     20230111125148  Add user id and source id and source type and member role id index to members
   up     20230111125150  Drop user id and source id and source type index from members
   up     20230111132621  Unpartition pm package metadata tables
   up     20230111171355  Add allow possible spam to application settings
   up     20230111174113  Create airflow dags
   up     20230112014822  Add user index and fk to ssh signatures
   up     20230112051854  Add not null constraint to o auth access tokens expires in
   up     20230112085143  Add index environments on project id and
   up     20230112104253  Add tmp index to ci build runner session
   up     20230112104526  Add tmp index to ci pending build
   up     20230112104636  Add tmp index to ci running build
   up     20230112141236  Schedule vulnerabilities feedback migration2
   up     20230112144946  Add tmp index to ci build need
   up     20230112145326  Add tmp index to ci pipeline variable
   up     20230113003255  Remove atlassian refresh token constraint
   up     20230113164245  Create namespace ldap settings
   up     20230113195141  Package metadata set default not null
   up     20230113201308  Backfill namespace ldap settings
   up     20230116083826  Drop index on ci build token encrypted
   up     20230116090630  Add index for group activity events
   up     20230116090852  Add index for project activity events
   up     20230116090920  Add index to events on group id and
   up     20230116091626  Add index for events followed users
   up     20230116111252  Finalize todo sanitization
   up     20230116143310  Add pages unique domain columns to project settings
   up     20230116143311  Add project settings pages unique domain limit
   up     20230116143312  Add project settings pages unique domain unique index
   up     20230116160904  Remove user details fields from user
   up     20230117092947  Add tmp index to ci build report results
   up     20230117093222  Add tmp index to ci builds on partition
   up     20230117093736  Add tmp index to ci pipelines on partition
   up     20230117093924  Add tmp index to ci stages on partition
   up     20230117094111  Prepare tmp index to ci build trace metadata
   up     20230117094226  Prepare tmp index to ci job artifact
   up     20230117094316  Add tmp index to ci job variable
   up     20230117113719  Add tmp index to ci sources pipelines on partition
   up     20230117114739  Clear duplicate jobs cookies
   up     20230117145628  Add token encrypted and partition id index to ci build
   up     20230117173433  Create project data transfer
   up     20230118083437  Redefine foreign key on ci unit test failure
   up     20230118083632  Redefine foreign key on ci build pending state
   up     20230118083748  Redefine foreign key on ci build trace chunk
   up     20230118135145  Add service desk custom email verifications
   up     20230118144623  Schedule migration for remediation
   up     20230119085509  Add index to ci running build
   up     20230119085552  Add foreign key to ci running build
   up     20230119090944  Add index to ci pending build
   up     20230119091027  Add foreign key to ci pending build
   up     20230119095022  Add fk index to ci builds runner session on partition id and build
   up     20230119095023  Add fk to ci builds runner session on partition id and build
   up     20230119095024  Validate fk on ci builds runner session partition id and build
   up     20230119095025  Remove fk to ci builds ci builds runner session on build
   up     20230119123256  Add fk index to ci resources on partition id and build
   up     20230119123257  Add fk to ci resources on partition id and build
   up     20230119123258  Validate fk on ci resources partition id and build
   up     20230119123259  Remove fk to ci builds ci resources on build
   up     20230119123908  Add temporary size index to package files
   up     20230119123937  Queue fix incoherent packages size on project statistics
   up     20230119150727  Add search curation settings to application settings
   up     20230119151636  Add url hash to web hook logs
   up     20230119151940  Add text limit to web hook logs url hash
   up     20230119214643  Add deactivation email additional text to application settings
   up     20230119215436  Add package metadata checkpoints
   up     20230120170042  Re add web hook calls column
   up     20230120170631  Drop sync triggers from web hook calls plan limits
   up     20230120171818  Sync plan limits web hook calls columns
   up     20230123095022  Create scan result policies
   up     20230123095023  Add scan result policy id to software license policies
   up     20230123120004  Add datetime fields to bulk import trackers
   up     20230123150648  Add deactivation email additional text to application settings text limits
   up     20230124101832  Remove fk to ci builds ci unit test failure on build
   up     20230124102131  Remove fk to ci builds ci build pending state on build
   up     20230124102222  Remove fk to ci builds ci build trace chunk on build
   up     20230124104310  Prepare web hook logs id created at async index
   up     20230124122143  Add deploy key id to create access levels
   up     20230124173255  Raise group and project ci variable limits
   up     20230124183643  Add checksums column to project mirror data
   up     20230124193917  Add index for protected tag create access levels
   up     20230125090315  Add prepared at to merge request
   up     20230125093723  Rebalance partition id ci pipeline
   up     20230125093840  Rebalance partition id ci build
   up     20230125195503  Queue backfill compliance violations
   up     20230126023444  Add timestamps to package metadata tables
   up     20230126091522  Add unique index to ci build pending state
   up     20230126101907  Add partition index to web hook logs
   up     20230126110439  Change default value for inbound job token scope enabled
   up     20230126133531  Remove not null constraints for tables with schema differences v3
   up     20230126151622  Add ci triggers encrypted token
   up     20230126210436  Add jira connect public key storage enabled setting
   up     20230127024835  Add database apdex settings to application settings
   up     20230127030015  Add deny all outgoing requests to application settings
   up     20230127093353  Initialize conversion of merge request metrics to bigint
   up     20230127101834  Backfill merge request metrics for bigint conversion
   up     20230127115607  Add hosted plan id and trial index to gitlab subscriptions
   up     20230127121107  Add git rate limit users alertlist to application settings
   up     20230127121443  Add unique project download limit alertlist to namespace settings
   up     20230127123947  Add fk index to ci sources pipelines on source partition id and source job
   up     20230127123948  Add fk to ci sources pipelines on source partition id and source job
   up     20230127125018  Remove hosted plan id index from gitlab subscriptions
   up     20230127131835  Add application settings git users alertlist max usernames constraint
   up     20230127131915  Add namespace settings unique project download limit alertlist size constraint
   up     20230127151529  Add project pointer for analytics dashboard
   up     20230127151530  Migrate project pointer for analytics dashboard
   up     20230127151531  Change dashboard analytics project pointer project null
   up     20230127151606  Add fk index to ci build trace metadata on partition id and build
   up     20230127151607  Add fk to ci build trace metadata on partition id and build
   up     20230127152727  Add fk index to ci job artifacts on partition id and job
   up     20230127152728  Add fk to ci job artifacts on partition id and job
   up     20230127153229  Add fk index to ci job variables on partition id and job
   up     20230127153230  Add fk to ci job variables on partition id and job
   up     20230127155217  Add id column to package metadata join table
   up     20230127164007  Add trial date index to gitlab subscribtions
   up     20230129094140  Add widget definitions
   up     20230129154126  Add widget def namespace fk
   up     20230129154202  Add widget def work item type fk
   up     20230129154819  Add widgets for work item types
   up     20230130070623  Add index on packages package file file name
   up     20230130073109  Nullify creator id of orphaned projects
   up     20230130075434  Schedule tmp index to ci build report results
   up     20230130084718  Drop invalid async index from postgres async index
   up     20230130102855  Add fk index to ci build report results on partition id and build
   up     20230130102856  Add fk to ci build report results on partition id and build
   up     20230130103957  Add fk index to ci build needs on partition id and build
   up     20230130103958  Add fk to ci build needs on partition id and build
   up     20230130104819  Initialize conversion of ci build needs to bigint
   up     20230130110855  Backfill ci build needs for big int conversion
   up     20230130125541  Add attempts and last error to postgres async indexes
   up     20230130130624  Add text limit to postgres async indexes last error
   up     20230130175512  Initialize conversion of sent notifications to bigint
   up     20230130182412  Schedule create vulnerability links migration
   up     20230130202201  Backfill sent notifications for bigint conversion
   up     20230130204743  Remove protected environment default access level
   up     20230131004948  Initialize conversion of notes id to bigint
   up     20230131005411  Backfill notes id for bigint conversion
   up     20230131090842  Add global group approvers enabled to application settings
   up     20230131123923  Raise ci variables default limits
   up     20230131125844  Add project id name id version index to installable npm packages
   up     20230131184319  Update billable users index for service accounts
   up     20230131194959  Remove invalid deploy access level
   up     20230131210921  Prepare index for vulnerability reads on project id scanner id vulnerability
   up     20230201012727  Initialize conversion of todos note id to bigint
   up     20230201012846  Backfill todos note id for bigint conversion
   up     20230201014223  Initialize conversion of system note metadata note id to bigint
   up     20230201014238  Backfill system note metadata note id for bigint conversion
   up     20230201082038  Drop web hook calls high column
   up     20230201152525  Schedule fk index to ci build needs on partition id and build
   up     20230201153450  Add index on lfs objects file
   up     20230201165656  Create container repository states
   up     20230201171450  Finalize backfill environment tier migration
   up     20230202002616  Initialize conversion of epic user mentions note id to bigint
   up     20230202002637  Backfill epic user mentions note id for bigint conversion
   up     20230202004247  Add index on merge request diffs external diff
   up     20230202023208  Initialize conversion of suggestions note id to bigint
   up     20230202023224  Backfill suggestions note id for bigint conversion
   up     20230202032248  Initialize conversion of issue user mentions note id to bigint
   up     20230202032302  Backfill issue user mentions note id for bigint conversion
   up     20230202094723  Add default syntax highlighting theme to application settings
   up     20230202131928  Encrypt ci trigger token
   up     20230202135758  Queue backfill prepared at data
   up     20230202153926  Add scan result policy id to approval rules
   up     20230202211434  Migrate redis slot keys
   up     20230203011359  Create automation rules
   up     20230203122602  Schedule vulnerabilities feedback migration3
   up     20230203122609  Change pipeline name index
   up     20230203145514  Allow null pipeline id to dast pre scan verification
   up     20230206143851  Create postgres async foreign key validations
   up     20230206172702  Add match on inclusion to scan result policy
   up     20230207002330  Add project group link on delete cascade fk
   up     20230207003737  Initialize conversion of note diff files diff note id to bigint
   up     20230207003812  Backfill note diff files diff note id for bigint conversion
   up     20230207005549  Initialize conversion of snippet user mentions note id to bigint
   up     20230207005701  Backfill snippet user mentions note id for bigint conversion
   up     20230207011344  Initialize conversion of design user mentions note id to bigint
   up     20230207011414  Backfill design user mentions note id for bigint conversion
   up     20230207012217  Initialize conversion of vulnerability user mentions note id to bigint
   up     20230207012238  Backfill vulnerability user mentions note id for bigint conversion
   up     20230207015819  Initialize conversion of commit user mentions note id to bigint
   up     20230207015850  Backfill commit user mentions note id for bigint conversion
   up     20230207025259  Initialize conversion of merge request user mentions note id to bigint
   up     20230207025315  Backfill merge request user mentions note id for bigint conversion
   up     20230207030244  Initialize conversion of timelogs note id to bigint
   up     20230207030259  Backfill timelogs note id for bigint conversion
   up     20230207143602  Schedule fk index to ci build trace metadata on partition id and build
   up     20230207143844  Schedule fk index to ci job artifacts on partition id and job
   up     20230208100917  Fix partition ids for ci pipeline variable
   up     20230208103009  Fix partition ids for ci job artifact
   up     20230208103640  Rename runner machine xid
   up     20230208110638  Cleanup ci runner machines machine xid rename
   up     20230208125736  Schedule migration for links
   up     20230208131808  Nullify last error from project mirror data
   up     20230208132608  Fix partition ids for ci stage
   up     20230209090702  Fix partition ids for ci build report result
   up     20230209092204  Fix partition ids for ci build trace metadata
   up     20230209103650  Add unique software license policies index on project and scan result policy
   up     20230209103714  Add fk to approval rules on scan result policy
   up     20230209123006  Remove unique software license policies index on project
   up     20230209131808  Recount epic cache counts v3
   up     20230209140102  Fix partition ids for ci build metadata
   up     20230209171547  Schedule vulnerabilities feedback migration4
   up     20230209222452  Schedule remove project group link with missing groups
   up     20230210113924  Prepare index approval rules on scan result policy
   up     20230210152109  Add bulk import export batches
   up     20230210153420  Add batched column to bulk import exports
   up     20230210155715  Add batch id to bulk import export uploads
   up     20230210160037  Add batch foreign key to bulk import export uploads
   up     20230210160351  Add bulk import batch trackers
   up     20230210161002  Add batched column to bulk import trackers
   up     20230210171012  Add batch id index to bulk import export uploads
   up     20230210181214  Add allow deploy tokens and keys with external authn to application settings
   up     20230213103019  Add index for next over limit check at
   up     20230213213559  Add index on project id and scanner id and vulnerability id on vulnerability reads
   up     20230214122717  Fix partition ids for ci job variables
   up     20230214142447  Remove text limit from ci job artifacts original filename
   up     20230214142813  Remove ci job artifacts original filename
   up     20230214154101  Fix partition ids on ci sources pipelines
   up     20230214174335  Prepare async index web hook logs
   up     20230214181633  Finalize ci build needs big int conversion
   up     20230215074223  Add ci runner machine builds partitioned table
   up     20230215124011  Add provisioned by group at to user details
   up     20230215131026  Add has failures column to bulk imports
   up     20230215180605  Index sbom occurrences on project id and
   up     20230215213349  Add sync index on packages package file filename
   up     20230216035802  Prepare async foreign key validation for ci build needs
   up     20230216040505  Add status and resolved at to abuse reports
   up     20230216052103  Prepare async foreign key validation for ci build report results
   up     20230216054348  Prepare async foreign key validation for ci job artifacts
   up     20230216060333  Prepare async foreign key validation for ci build trace metadata
   up     20230216071312  Add status category and id index to abuse reports
   up     20230216142836  Update vulnerability reads trigger to set has issue
   up     20230216144719  Drop table airflow dags
   up     20230216152912  Add has failures column to bulk import entities
   up     20230216171309  Create ci runner cost settings
   up     20230216191507  Delete incorrectly onboarded namespaces
   up     20230216222956  Add sync index on lfs objects file
   up     20230216232404  Add sync index on merge request diffs external diff
   up     20230216233937  Remove application settings send user confirmation email column
   up     20230217065736  Add projects api rate limit unauthenticated to application settings
   up     20230217144421  Add check type to pre scan step
   up     20230217232554  Add state changed in to vulnerability state transitions
   up     20230218145930  Add index users on updated at
   up     20230218145940  Add index namespaces on updated at
   up     20230218152729  Validate fk on ci job artifacts partition id and job
   up     20230218152730  Remove fk to ci builds ci job artifacts on job
   up     20230219191034  Add pipeline fk to vulnerability state transitions
   up     20230220035034  Add status and id index to abuse reports
   up     20230220102212  Swap columns ci build needs big int conversion
   up     20230220112930  Replace uniq index on postgres async foreign key validations
   up     20230220132409  Validate fk on ci build report results partition id and build
   up     20230220132410  Remove fk to ci builds ci build report results on build
   up     20230220134145  Validate fk on ci build needs partition id and build
   up     20230220134146  Remove fk to ci builds ci build needs on build
   up     20230220163141  Create catalog resources table
   up     20230220165240  Add index to approval rules on scan result policy
   up     20230221010522  Prepare async foreign key validation for ci sources pipelines
   up     20230221011750  Prepare async foreign key validation for ci job variables
   up     20230221093533  Add tmp partial index on vulnerability report types
   up     20230221093535  Add sync tmp partial index on vulnerability report types
   up     20230221093536  Schedule migrate shared vulnerability identifiers
   up     20230221110256  Create initial partition for ci runner machine builds
   up     20230221125148  Add fk to p ci builds metadata partitions on partition id and build
   up     20230221162222  Raise ci variable limits on gitlab com
   up     20230221214519  Remove incorrectly onboarded namespaces from onboarding progress
   up     20230222035805  Prepare async index removal of token for ci builds
   up     20230222055510  Remove concurrent index on token encrypted for ci builds
   up     20230222101420  Remove fk to ci build ci pending build on build
   up     20230222102421  Remove fk to ci build ci running build on build
   up     20230222153048  Add registry size estimated to namespace root storage statistics
   up     20230222161226  Add custom jira regex to jira tracker data
   up     20230222161954  Add text limit to custom jira regex fields
   up     20230222193845  Change public projects minutes cost factor default to 1
   up     20230223014251  Validate not null constraint on oauth access tokens expires in
   up     20230223065753  Finalize nullify creator id of orphaned projects
   up     20230223082752  Schedule fk validation for p ci builds metadata partitions and ci builds
   up     20230223093704  Add foreign key on creator id on projects
   up     20230224085743  Update issues internal id scope
   up     20230224130315  Add constraint type to postgres async constraint validation
   up     20230224144233  Migrate evidences from raw metadata
   up     20230224161346  Add saml group lock to application settings
   up     20230227123949  Validate fk on ci sources pipelines source partition id and source job
   up     20230227123950  Remove fk to ci builds ci sources pipelines on source job
   up     20230227151608  Validate fk on ci build trace metadata partition id and build
   up     20230227151609  Remove fk to ci builds ci build trace metadata on build
   up     20230227153231  Validate fk on ci job variables partition id and job
   up     20230227153232  Remove fk to ci builds ci job variables on job
   up     20230228021910  Ensure timelogs note id bigint backfill is finished for gitlab dot com
   up     20230228023014  Swap timelogs note id to bigint for gitlab dot com
   up     20230228092612  Add index next over limit check at asc order synchronously
   up     20230228133011  Add design description
   up     20230228135034  Add design description limit
   up     20230228142350  Add notifications work item widget
   up     20230228183644  Add partitioning info to postgres foreign keys
   up     20230228212427  Add index user details on user id for enterprise users without date
   up     20230228212905  Add index user details on user id for enterprise users with date
   up     20230301020246  Ensure mr user mentions note id bigint backfill is finished for gitlab dot com
   up     20230301020356  Swap merge request user mentions note id to bigint
   up     20230301065107  Add index on expired unlocked non trace job artifacts
   up     20230302090155  Add async index on unlocked non trace job artifacts expire at
   up     20230302123258  Drop runner machines constraint on ci builds metadata
   up     20230302123259  Ensure ci runner machines is empty
   up     20230302123301  Add index on runner machine id on runner machine builds
   up     20230302163339  Add index to oauth access grants application
   up     20230302185739  Queue fix vulnerability reads has issues
   up     20230303105806  Queue delete orphaned packages dependencies
   up     20230303120531  Schedule temporary partitioning indexes removal
   up     20230303144424  Unique index on catalog resources project
   up     20230303154314  Add user type migration indexes
   up     20230303232426  Add role approvers to scan result policies
   up     20230304184416  Drop revokable from achievements
   up     20230306071456  Validate partitioning fk on p ci builds metadata partitions
   up     20230306072532  Add partitioned fk to p ci builds metadata on partition id and build
   up     20230306082852  Remove fk to ci builds p ci builds metadata on build
   up     20230306143322  Prepare ci builds primary key for partitioning
   up     20230306145230  Add product analytics data collector host to application settings
   up     20230306195007  Queue backfill project wiki repositories
   up     20230307000000  Create design management repository
   up     20230307085644  Track ci runner machine record changes
   up     20230307091216  Add status reporter id and id index to abuse reports
   up     20230307122838  Add text limit to application settings product analytics data collector host
   up     20230307132729  Create schema inconsistencies
   up     20230307160251  Rename constraint fk rails f601258b28 on events table
   up     20230307212637  Remove create learn gitlab worker job instances
   up     20230307233631  Add public runner release version fetch setting
   up     20230308154243  Add package id to ml candidates
   up     20230308154244  Add package id foreign key to ml candidates
   up     20230308154245  Add index on package id for ml candidates
   up     20230308163018  Create container registry data repair details
   up     20230309000957  Add external identifiers to import failures
   up     20230309010000  Add unique index mr user mentions note id convert to bigint
   up     20230309010931  Add fk on mr user mentions note id convert to id bigint
   up     20230309020422  Validate fk on mr user mentions note id convert to id bigint
   up     20230309071242  Delete security policy bot users
   up     20230309085547  Prepare ci builds constraints for list partitioning
   up     20230309103016  Drop id partition id index from p ci build metadata
   up     20230310111859  Recreate user type migration indexes
   up     20230310213308  Sync security policy rule schedules that may have been deleted by a bug
   up     20230313012226  Create search indices
   up     20230313012609  Create search namespace index assignments
   up     20230313014038  Add search index foreign key to search namespace index assignments
   up     20230313031351  Create resource link events
   up     20230313031629  Ensure commit user mentions note id bigint backfill is finished for gitlab dot com
   up     20230313054226  Add status created at and updated at indexes to abuse reports
   up     20230313100920  Add gitlab dedicated instance to application settings
   up     20230313133001  Ensure merge request metrics id bigint backfill is finished for gitlab dot com
   up     20230313142631  Backfill ml candidates package
   up     20230313143033  Swap merge request metrics id to bigint for gitlab dot com
   up     20230313150531  Reschedule migration for remediation
   up     20230313181536  Create packages npm metadata caches
   up     20230313184306  Add temp index for software license cleanup
   up     20230313185145  Cleanup orphan software licenses
   up     20230314144640  Reschedule migration for links
   up     20230314210657  Set email confirmation setting from soft email confirmation ff
   up     20230315053635  Add screenshot to abuse reports
   up     20230315084704  Finalize issues iid scoping to namespace
   up     20230315161408  Finalize set notifications bigint conversion backfill
   up     20230316014650  Remove index on events action async
   up     20230316014651  Remove index on events action
   up     20230316093433  Insert daily invites trial plan limits
   up     20230316095948  Create service desk custom email credentials
   up     20230316114426  Swap ci runner machine builds primary key
   up     20230316164917  Remove packages events package id fk
   up     20230316185746  Drop packages events table
   up     20230317075852  Add tmp unique packages index when debian
   up     20230317080000  Ensure unique debian packages
   up     20230317080137  Add unique packages index when debian
   up     20230317151841  Remove from to state constraint
   up     20230317162059  Add current user todos work item widget
   up     20230317195228  Prepare async sent notifications index
   up     20230319105436  Remove member role download code
   up     20230320110802  Add index to vulnerability findings on uuid
   up     20230320155635  Add index to namespace details
   up     20230321003252  Swap commit user mentions note id to bigint for gitlab dot com
   up     20230321011529  Ensure vum bigint backfill is finished for gl dot com
   up     20230321011903  Swap vulnerability user mentions note id to bigint for gitlab dot com
   up     20230321024333  Ensure design user mentions note id bigint backfill is finished for gitlab dot com
   up     20230321024903  Swap design user mentions note id to bigint for gitlab dot com
   up     20230321085011  Add column to users statistisc
   up     20230321095759  Remove namespaces broadcast messages namespace id fk
   up     20230321113956  Add indexes to merge request compliance violations
   up     20230321124837  Remove ci builds partition id default
   up     20230321153035  Add package id created at desc index to package files
   up     20230321153304  Rename ml candidates iid to eid
   up     20230321153337  Cleanup ml candidates iid rename
   up     20230321161218  Add project access token limit to plan limits
   up     20230321161441  Insert project access token limit
   up     20230321162810  Add project id to ml candidates
   up     20230321162902  Add index on project id on ml candidates
   up     20230321163051  Add project id foreign key to ml candidates
   up     20230321163547  Cleanup conversion big int ci build needs
   up     20230321163947  Backfill ml candidates project
   up     20230321170734  Add internal id to ml candidates
   up     20230321170803  Add index on project id on internal id to ml candidates
   up     20230321170823  Backfill ml candidates internal
   up     20230322011220  Ensure snippet user mentions bigint backfill is finished for gitlab dot com
   up     20230322012209  Swap snippet user mentions note id to bigint for gitlab dot com
   up     20230322023442  Ensure note diff files bigint backfill is finished for gitlab dot com
   up     20230322085041  Remove user namespace records from vsa aggregation
   up     20230322085852  Validate partitioning constraint on ci builds
   up     20230322145403  Add project id foreign key to packages npm metadata caches
   up     20230322151605  Rerun remove invalid deploy access level
   up     20230322151635  Cleanup bigint conversion for merge request metrics
   up     20230322162512  Add valid deploy access level constraint
   up     20230322203927  Change user type default
   up     20230323005730  Add unique index diff note id convert to bigint for gitlab com
   up     20230323010111  Add fk on diff note id convert to bigint for gitlab com
   up     20230323013251  Async validate fk note diff files diff note id convert to bigint for gitlab com
   up     20230323021618  Add silent mode enabled to application settings
   up     20230323101138  Add award emoji work item widget
   up     20230323120601  Create dora performance scores
   up     20230323131521  Remove machine id from builds metadata
   up     20230323140745  Add root directory to pages deployment
   up     20230323140746  Add text limit to pages deployment root directory
   up     20230323153042  Track push rules deletions
   up     20230323153328  Track tags deletions
   up     20230323153433  Fix application setting push rule id fk
   up     20230323191750  Add shard settings to search indices
   up     20230327074932  Add text limit to abuse reports screenshot
   up     20230327123333  Backfill product analytics data collector host
   up     20230327125705  Add index to vulnerability finding signatures on signature sha
   up     20230327144152  Remove ci builds partition id default v2
   up     20230328020316  Delete unused index on merge requests on state id and merge status
   up     20230328023535  Initialize conversion of award emoji awardable id to bigint
   up     20230328023554  Backfill award emoji awardable id for bigint conversion
   up     20230328031720  Initialize conversion of events target id to bigint
   up     20230328031838  Backfill events target id for bigint conversion
   up     20230328100534  Truncate error tracking tables
   up     20230328111013  Re migrate redis slot keys
   up     20230328151756  Prepare async index for security scans on pipeline id and scan type
   up     20230328184031  Swap sent notifications id columns
   up     20230329032129  Add lock version to terraform state
   up     20230329085754  Add foreign key to resource link events on user
   up     20230329091107  Truncate p ci runner machine builds
   up     20230329091300  Swap ci runner machine builds primary key v2
   up     20230329100222  Drop software licenses temp index
   up     20230329152410  Add achievements enabled to user preferences
   up     20230329194244  Add index packages debian file metadata when unknown
   up     20230330080731  Remove tmp index vuln occurrences on report type
   up     20230330101438  Create fk ml candidate params on candidate
   up     20230330101439  Validate fk ml candidate params on candidate
   up     20230330101440  Remove old fk ml candidate params on candidate
   up     20230330101441  Create fk ml candidate metrics on candidate
   up     20230330101442  Validate fk ml candidate metrics on candidate
   up     20230330101443  Remove old fk ml candidate metrics on candidate
   up     20230330103104  Reschedule migrate evidences
   up     20230330215636  Remove unused project jira indexes
   up     20230331142006  Add open ai api key application setting
   up     20230403023440  Add database max running batched background migrations to application settings
   up     20230403023441  Set max running batched background migrations for gitlab com
   up     20230403023828  Swap note diff files note id to bigint for gitlab dot com
   up     20230403041642  Ensure issue user mentions bigint backfill is finished for gitlab dot com
   up     20230403041917  Swap issue user mentions note id to bigint for gitlab dot com
   up     20230403085957  Add tmp partial index on vulnerability report types2
   up     20230403085958  Add sync tmp partial index on vulnerability report types2
   up     20230403113620  Add pinned nav items to user preference
   up     20230403145705  Add purl sync to settings
   up     20230403164454  Add fork storage size columns to root storage statistics
   up     20230403190527  Add index to security scans on scan type
   up     20230403221928  Resync scan result policies for namespaces
   up     20230403231455  Add unique index issue user mentions note id convert to bigint for gitlab com
   up     20230403231841  Add fk on issue user mentions note id convert to bigint for gitlab com
   up     20230403232121  Async validate fk issue user mentions note id convert to bigint for gitlab com
   up     20230404023648  Ensure suggestions note id bigint backfill is finished for gitlab dot com
   up     20230404023915  Swap suggestions note id to bigint for gitlab dot com
   up     20230404030757  Ensure epic user mentions bigint backfill is finished for gitlab dot com
   up     20230404031041  Swap epic user mentions note id to bigint for gitlab dot com
   up     20230404044338  Drop async index ci job artifacts on expire at for removal
   up     20230404050414  Remove unused merge request jira indexes
   up     20230404061832  Drop sync index ci job artifacts on expire at for removal
   up     20230404132544  Prepare async index for override uuids logic
   up     20230404194907  Remove mr mentions temp index
   up     20230404194908  Remove mr state id temp index
   up     20230405072302  Remove p ci builds metadata partition id default
   up     20230405094230  Create index for override uuids logic on vulnerability occurrences
   up     20230405102815  Add unique namespace index to storage limit exclusions
   up     20230405132104  Remove saml provider and identities non root group
   up     20230405132855  Remove scim token and scim identity non root group
   up     20230405200858  Requeue backfill project wiki repositories
   up     20230406040908  Add system note metadata id  to resource link events
   up     20230406041555  Allow null file md5 to debian project component files
   up     20230406041629  Allow null file md5 to debian group component files
   up     20230406042906  Add unique index to resource link events on system note metadata
   up     20230406043900  Add system note metadata foreign key to resource link events
   up     20230406060452  Create instance external audit event destinations
   up     20230406073847  Validate foreign key for resource link events on system note metadata
   up     20230406093640  Requeue backfill admin mode scope for personal access tokens
   up     20230406095544  Add pa configurator base to app settings
   up     20230406134436  Add identity toggle to user preferences
   up     20230406150254  Create agent user access project authorizations table
   up     20230406150354  Create agent user access group authorizations table
   up     20230406150454  Add fks to agent user access authorizations
   up     20230407164616  Add code suggestions to namespace settings
   up     20230410092450  Add product analytics instrumentation key to project settings
   up     20230410111251  Async validate fk projects creator
   up     20230411153310  Cleanup bigint conversion for sent notifications
   up     20230411171001  Create abuse trust scores
   up     20230412013251  Ensure system note metadata bigint backfill is finished for gitlab dot com
   up     20230412073614  Create issue assignment events
   up     20230412080242  Add concurrent fk to issue assignment events
   up     20230412151659  Add ci job artifacts file final path
   up     20230412152538  Add text limit to ci job artifacts file final path
   up     20230412201517  Remove clusters applications cert managers fk
   up     20230412201528  Remove clusters applications cilium fk
   up     20230412201539  Remove clusters applications crossplane fk
   up     20230412201549  Remove clusters applications helm fk
   up     20230412201600  Remove clusters applications ingress fk
   up     20230412201611  Remove clusters applications jupyter fk
   up     20230412201621  Remove clusters applications knative fk
   up     20230412201632  Remove clusters applications prometheus fk
   up     20230412201642  Remove clusters applications runners fk
   up     20230412203234  Remove clusters applications jupyter oauth fk
   up     20230412204143  Remove serverless domain cluster pages fk
   up     20230412204201  Remove serverless domain cluster knative fk
   up     20230412204224  Remove serverless domain cluster creator fk
   up     20230412214119  Finalize encrypt ci trigger token
   up     20230413012807  Remove index sync index on merge requests on state id and merge status
   up     20230413041917  Swap issue user mentions note id to bigint for gitlab dot com 2
   up     20230413041918  Add unique index system note metadata note id convert to bigint for gitlab com
   up     20230413041919  Add fk on system note metadata note id convert to bigint for gitlab com
   up     20230413041920  Async validate fk system note metadata note id convert to bigint for gitlab com
   up     20230413080906  Create merge request assignment events
   up     20230413080918  Add concurrent fk to merge request assignment events
   up     20230413153140  Add text limit to project settings instrumentation key
   up     20230414075119  Add namespaces by top level namespace index
   up     20230418154454  Change code suggestions default in namespace settings
   up     20230418164957  Queue update code suggestions for namespace settings
   up     20230419164438  Change code suggestions default false in namespace settings

Possible workarounds

UPDATE 2023/05/01 - See #408835 (comment 1373467326) for the current workaround

Edited by Anton Smith