Skip to content

Rename sprints table to iterations

Alexandru Croitor requested to merge rename-sprints-to-iterations into master

What does this MR do?

Renames sprints table to iterations so that it would match the terminology used as well as code usages, including model name itself.

Up

== 20201117123226 RenameSprintsTableToIterations: migrating ===================
-- rename_table(:sprints, :iterations)
   -> 0.0287s
== 20201117123226 RenameSprintsTableToIterations: migrated (0.0288s) ==========

Down

== 20201117123226 RenameSprintsTableToIterations: reverting ===================
-- rename_table(:iterations, :sprints)
   -> 0.0173s
== 20201117123226 RenameSprintsTableToIterations: reverted (0.1093s) ==========

Runtime on database-lab

exec ALTER TABLE "sprints" RENAME TO "iterations"
Session: joe-bupvvh8350j13v2kl740
The query has been executed. Duration: 15.000 ms (edited) 

renames sprints table to iterations, so that it is more consistent with the terminology we use as well as model name and multiple code references.

re #232899

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Alexandru Croitor

Merge request reports