Skip to content

Commit

Permalink
PI-1581 remove staff employeeId (#2448)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevomcallister authored Oct 25, 2023
1 parent 20d8f69 commit d12e95b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ object PersonGenerator {
Person(crn, noms, softDeleted, id)

fun generatePersonManager(person: Person) =
PersonManager(IdGenerator.getAndIncrement(), person.id, 1, 1, 1, 1)
PersonManager(IdGenerator.getAndIncrement(), person.id, 1, 1, 1)
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ class ContactService(
probationAreaId = comDetails.probationAreaId,
teamId = comDetails.teamId,
staffId = comDetails.staffId,
staffEmployeeId = comDetails.staffEmployeeId,
externalReference = reference
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ class Contact(
@Column(updatable = false)
val staffId: Long,

@Column(updatable = false)
val staffEmployeeId: Long,

@Column(updatable = false)
val teamId: Long,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class PersonManager(
@Column(name = "allocation_staff_id")
val staffId: Long,

@Column(name = "provider_employee_id")
val staffEmployeeId: Long,

@Column(name = "probation_area_id")
val probationAreaId: Long,

Expand Down

0 comments on commit d12e95b

Please sign in to comment.