catask/UPDATE.md
2024-09-19 18:47:56 +03:00

16 lines
612 B
Markdown

## 1.3.0 -> 1.4.0
first, pull the update from the repository: `git pull`
second, you'll need to update the database schema as it was changed slightly in this update, run these queries in mysql/mariadb console:
```USE <catask database name>;```
```ALTER TABLE answers CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;```
```ALTER TABLE questions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;```
after that, open your config file and add `"rules": ""` to `"instance"`, like this:
```
...
"instance": {
...
"fullBaseUrl": "https://catask.localhost",
"rules": ""
},
...
```