{"id":21085426,"url":"https://github.com/magec/utf8mb4rails","last_synced_at":"2025-05-16T11:31:17.891Z","repository":{"id":24740586,"uuid":"102333379","full_name":"magec/utf8mb4rails","owner":"magec","description":"Adds a couple of rake tasks to deal with utf8 to utf8mb4 migrations for mysql.","archived":false,"fork":false,"pushed_at":"2023-01-20T11:26:20.000Z","size":39,"stargazers_count":5,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-24T13:42:14.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-04T07:45:04.000Z","updated_at":"2023-11-15T08:16:25.000Z","dependencies_parsed_at":"2023-02-12T01:46:32.185Z","dependency_job_id":null,"html_url":"https://github.com/magec/utf8mb4rails","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magec%2Futf8mb4rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magec%2Futf8mb4rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magec%2Futf8mb4rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magec%2Futf8mb4rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magec","download_url":"https://codeload.github.com/magec/utf8mb4rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254521824,"owners_count":22084985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T20:33:13.217Z","updated_at":"2025-05-16T11:31:12.879Z","avatar_url":"https://github.com/magec.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utf8mb4rails\n\nA simple gem that adds a rake task to deal with utf8 to utf8mb4 migrations for mysql.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'utf8mb4rails'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install utf8mb4rails\n\nThis gem uses [departure](https://github.com/departurerb/departure) a Percona's pt-online-schema-change runner for ActiveRecord migrations.\n\nYou need to have percona tools installed prior to using this gem. See instructions [here](https://github.com/departurerb/departure).\n\n## Usage\n\nThis gem will add in your rails project a new task called utf8mb4. This tast is aimed to easily convert tables in utf8 into\nutf8mb4 without truncating column contents and maintaining its original schema (without changing max sizes).\n\n**USE AT YOUR OWN RISK!!!**\n\n    $ rake -T\n\n```\n...\nrake db:utf8mb4                          # migrates a table[/column] (TABLE, COLUMN env vars) to utf8mb encoding\n...\n\n```\n\nYou can modify its behavior using env vars.\n\n- **TABLE**: The table you want to migrate, if no column is specified every single column will be migrated, also the default charset\nof the table is altered.\n- **COLUMN**: The column to be migrated (needs TABLE defined). It will only migrate that column definition.\n- **COLLATION**: The collation (utf8mb4_unicode_520_ci by default)\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/magec/utf8mb4rails.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagec%2Futf8mb4rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagec%2Futf8mb4rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagec%2Futf8mb4rails/lists"}