[AB-132] fixing experience job not creating user experience records in the database

fixing setup command not being considered templated
changing column name for counters
fixing liquibase configuration for creating postgres functions
fixing duration format expcetion model not available in the template
enabling builds for hotfix/bugfix branches
This commit is contained in:
Sheldan
2020-09-27 00:36:07 +02:00
parent 5081c3174f
commit 0f9a0dc143
19 changed files with 376 additions and 268 deletions

View File

@@ -5,8 +5,6 @@ import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import java.util.HashMap;
/**
* This model is used when the category for creating mod mail threads is not properly setup
* and when the feature is enabled via command. This will be rendered as a simple additional line of validation errors
@@ -20,13 +18,11 @@ public class ModMailCategoryValidationErrorModel implements ValidationErrorModel
@Override
public String getTemplateName() {
return "modmail_category_not_setup";
return "setup_modmail_category_not_setup";
}
@Override
public Object getTemplateModel() {
HashMap<String, Long> params = new HashMap<>();
params.put("categoryId", currentCategoryId);
return params;
return new Object();
}
}