Skip to content

Rename seat calculation methods

Mark Chao requested to merge store-seats_currently_in_use-2 into master

What does this MR do?

Prepend calculate_ to method names of seats_in_use and seats_owed (these two methods return dynamically calculated results), because we want to store the calculated value in the database as columns seats_in_use and seats_owed, so we have to reserve methods names for attribute access.

Part of customers-gitlab-com#1641 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Mark Chao

Merge request reports

Loading