removed unecessary stuff from generalsystemsettings and added remove statements to current.sql

This commit is contained in:
fred-fri 2012-08-02 12:04:18 +09:00
parent b0741b8421
commit c5777e7fb0
2 changed files with 2 additions and 22 deletions
resources/db_update_scripts
src/main/java/se/su/dsv/scipro/data/dataobjects

@ -0,0 +1,2 @@
alter table `general_system_settings` drop column matchAlgorithmMatchesAreForceAccepted;
alter table `general_system_settings` drop column supervisorsCanAcceptDeclinePIs;

@ -65,28 +65,6 @@ public class GeneralSystemSettings extends DomainObject{
@Basic(optional=true)
private int projectPartnerDaysToLive;
// @Basic(optional=false)
// private boolean supervisorsCanAcceptDeclinePIs = true;
//
// public boolean getSupervisorsCanAcceptDeclinePIs(){
// return supervisorsCanAcceptDeclinePIs;
// }
//
// public void setSupervisorsCanAcceptDeclinePIs(boolean supervisorsCanAcceptDeclinePIs){
// this.supervisorsCanAcceptDeclinePIs = supervisorsCanAcceptDeclinePIs;
// }
//
// @Basic(optional=false)
// private boolean matchAlgorithmMatchesAreForceAccepted = true;
//
// public boolean isMatchAlgorithmMatchesAreForceAccepted() {
// return matchAlgorithmMatchesAreForceAccepted;
// }
//
// public void setMatchAlgorithmMatchesAreForceAccepted(boolean matchAlgorithmMatchesAreForceAccepted) {
// this.matchAlgorithmMatchesAreForceAccepted = matchAlgorithmMatchesAreForceAccepted;
// }
@Basic(optional=false)
private boolean finalSeminarThesisMustBeAPDF = false;