diff options
author | Nick Thomas <nick@gitlab.com> | 2019-06-19 16:10:07 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-06-19 16:11:01 +0300 |
commit | 8802dd24ecf17fa90b3e0200a05224297fa0f462 (patch) | |
tree | 1974b45483993690c43ffc7724aa678b700a75a4 /doc/development/rake_tasks.md | |
parent | 7754029e190eee6eb530c4c8dc45bec57095d92c (diff) |
Update the docs to reflect lack of MySQL support
Now MySQL is no longer supported, we need to change the docs
Diffstat (limited to 'doc/development/rake_tasks.md')
-rw-r--r-- | doc/development/rake_tasks.md | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/doc/development/rake_tasks.md b/doc/development/rake_tasks.md index 28a12572961..4fc10b6af5c 100644 --- a/doc/development/rake_tasks.md +++ b/doc/development/rake_tasks.md @@ -80,30 +80,6 @@ There are a few environment flags you can pass to change how projects are seeded - `LARGE_PROJECTS`: defaults to false. If set will clone 6 large projects to help with testing. - `FORK`: defaults to false. If set to `true` will fork `torvalds/linux` five times. Can also be set to an existing project full_path and it will fork that instead. -### Notes for MySQL - -Since the seeds would contain various UTF-8 characters, such as emojis or so, -we'll need to make sure that we're using `utf8mb4` for all the encoding -settings and `utf8mb4_unicode_ci` for collation. Please check -[MySQL utf8mb4 support](../install/database_mysql.md#mysql-utf8mb4-support) - -Make sure that `config/database.yml` has `encoding: utf8mb4`, too. - -Next, we'll need to update the schema to make the indices fit: - -``` shell -sed -i 's/limit: 255/limit: 191/g' db/schema.rb -``` - -Then run the setup script: - -``` shell -bundle exec rake setup -``` - -To make sure that indices still fit. You could find great details in: -[How to support full Unicode in MySQL databases](https://mathiasbynens.be/notes/mysql-utf8mb4) - ## Run tests In order to run the test you can use the following commands: |