1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-09-16 08:56:19 +02:00

Workspace switcher (#1052)

* API WIP

* WIP

* Finished changes

* Fixed colors:

* Don't enforce charset adn collation in migration, pick from database DSN

* Added MySQL query

* Updated mocks

* Added tests

* Lint fixes

* Fixed typo and removed unsed style

* Checked in a snapshot

* Updated snapshot

* Updated Cypress test

* Updated Cypress test

* Updated Cypress test

* Fixed review comments

* Fixed tests

* Added default collation for MySQL

* Added documentation for ensuring correct database collation

* Updated migrations

* Fixed a bug with collation

* Fixed lint errors

* Used correct collation

* debugging

* Updating css

* Minor UI changes

* USe inbuilt default collation

* Used only charset for mysql

* Fixed linter issue:

* Added migration for matching collation

* Reverted local config changes

* Reverted local config changes

* Handled the case of personal server running on MySQL

* WIP

* Now running collation matching migration onlyt for plugins

* Minor optimization

* Multiple review fixes

* Added group by clause to primary query

* Supported for subpacth

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
This commit is contained in:
Harshil Sharma
2021-09-08 10:22:03 +05:30
committed by GitHub
parent de5f06c426
commit 08db4fed61
47 changed files with 1493 additions and 696 deletions

View File

@@ -195,6 +195,15 @@ nano /opt/focalboard/config.json
Change the dbconfig setting to use the MySQL database you created:
When MySQL is being used, using collation is recommended over using charset.
Using a variant of `utf8mb4` collation is required. For example, `utf8mb4_general_ci`
is used by default when no collation is specified.
If you're using Focalboard as a Mattermost Plugin prior to version 0.9 with MySQL,
please ensure the collations of focalboard tables (tables with the prefix `focalboard_`)
is the same as the collation of mattermost tables.
```
"dbtype": "mysql",
"dbconfig": "boardsuser:boardsuser-password@tcp(127.0.0.1:3306)/boards",