[R2] Fix specialty typo and add migration to rename it on database
This commit is contained in:
parent
58318525b8
commit
2d61f0c049
@ -145,7 +145,7 @@ public class Doctor {
|
||||
/**
|
||||
* Returns the specialty
|
||||
* @return An enum class representing the doctor's specialty.
|
||||
* @see Speciality
|
||||
* @see Specialty
|
||||
*/
|
||||
public Specialty getSpecialty() {
|
||||
return specialty;
|
||||
|
||||
@ -0,0 +1 @@
|
||||
ALTER TABLE doctors RENAME COLUMN speciality TO specialty;
|
||||
Loading…
x
Reference in New Issue
Block a user