mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 13:23:41 -05:00
1.4.2-alpha - another hotfix
This commit is contained in:
parent
f19e68fa99
commit
351dc3e99c
3 changed files with 20 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
## 1.4.2
|
||||
|
||||
### Fixes
|
||||
* add `rules` to `instance` in config.example.json
|
||||
|
||||
## 1.4.1
|
||||
|
||||
### Fixes
|
||||
|
|
16
UPDATE.md
16
UPDATE.md
|
@ -1,6 +1,16 @@
|
|||
## 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;```
|
||||
```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": ""
|
||||
},
|
||||
...
|
||||
```
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
"title": "CatAsk",
|
||||
"description": "Ask me something!",
|
||||
"image": "/static/img/ca_screenshot.png",
|
||||
"fullBaseUrl": "https://catask.localhost"
|
||||
"fullBaseUrl": "https://catask.localhost",
|
||||
"rules": ""
|
||||
},
|
||||
"charLimit": "512",
|
||||
"anonName": "Anonymous",
|
||||
|
|
Loading…
Add table
Reference in a new issue