task/3382: Harmonisera tabellnamn #6

Merged
ansv7779 merged 104 commits from task/3382 into develop 2024-11-12 13:33:44 +01:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 05e5725581 - Show all commits

View File

@ -17,12 +17,15 @@ public class UrkundSettings {
private long id = ID;
@Basic
@Column(name = "enabled")
private boolean enabled = false;
tozh4728 marked this conversation as resolved Outdated

Username is one word. "User name" is the user's name (as in John Doe) while username is the unique john@doe.example.

Username is one word. "User name" is the user's name (as in John Doe) while username is the unique `john@doe.example`.
@Column(name = "user_name")
@Basic
@Column(name = "username")
private String username;
@Basic
@Column(name = "password")
private String password;
public boolean isEnabled() {
@ -72,6 +75,7 @@ public class UrkundSettings {
@Override
public String toString() {
return "UrkundSettings(id=" + this.id + ", enabled=" + this.isEnabled() + ", username=" + this.getUsername() + ", password=" + this.getPassword() + ")";
return "UrkundSettings(id=" + this.id + ", enabled=" + this.isEnabled() + ", username=" +
this.getUsername() + ", password=" + this.getPassword() + ")";
}
}

View File

@ -383,10 +383,6 @@ alter table `NonWorkDayPeriod` rename column `startDate` to `start_date`;
rename table `NonWorkDayPeriod` to `non_work_day_period`;
-- table: urkund_settings
alter table `urkund_settings` rename column `username` to `user_name`;
-- table: reviewer_deadline_settings
alter table `reviewer_deadline_settings` rename column `roughDraftApproval` to `rough_draft_approval`;