Skip to content

Commit

Permalink
Increase max size of Role.category (30 → 100 chars)
Browse files Browse the repository at this point in the history
Fixes #395
  • Loading branch information
amcclain committed Nov 7, 2024
1 parent e19d964 commit b8fdc57
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

## 25.0-SNAPSHOT - unreleased

### ⚙️ Technical

* Increased max length of `Role.category` string to 100 chars.
* Requires column modification to `xh_role` table with the following SQL or equivalent:
```mysql
-- MySQL
ALTER TABLE `xh_role` CHANGE COLUMN `category` `category` VARCHAR(100) null
```
```sql
-- SQL Server
ALTER TABLE xh_role ALTER COLUMN category VARCHAR(100) null
```

## 24.0.0 - 2024-10-17

### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW - Hoist React update)
Expand Down
2 changes: 1 addition & 1 deletion grails-app/domain/io/xh/hoist/role/provided/Role.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Role implements JSONFormat {
}

static constraints = {
category nullable: true, maxSize: 30, blank: false
category nullable: true, maxSize: 100, blank: false
notes nullable: true, maxSize: 1200
lastUpdatedBy maxSize: 50
}
Expand Down

0 comments on commit b8fdc57

Please sign in to comment.