Releases: planetscale/planetscale_rails
v0.2.8
v0.2.7
v0.2.6
v0.2.5
Full Changelog: v0.2.4...v0.2.5
- Fixes a bug with
keyspace
being set when migrations are run on a local mysql.
v0.2.4
What's Changed
- Update connection to work for multi-keyspace databases by @mscoutermarsh in #23
- Allow
create_table
to take a keyspace option for multi-keyspace databases by @mscoutermarsh in #24
Full Changelog: v0.2.3...v0.2.4
v0.2.3
v0.2.2
Adding ability to disable schema dumping via env var.
Add the following to config/application.rb
to disable schema dump after running psdb:migrate
.
if ENV["DISABLE_SCHEMA_DUMP"]
config.active_record.dump_schema_after_migration = false
end
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
- Fix pscale switch error message by @mscoutermarsh in #20
- Disable schema dump after running migrations + improve SSL cert by @mscoutermarsh in #18
Full Changelog: v0.2.0...v0.2.1
v0.2.0
This new version makes some improvements on how the gem connects to PlanetScale. Previously, the gem used pscale connect
to open a local port on the host that proxied a connection to the PlanetScale database.
The new version no longer uses pscale connect
(to improve reliability when running in various environments). It now creates credentials, connects directly to the database and then removes the credentials when it is done running the rake task.
We also tested the gem on Rails 6 and verified it works.
What's Changed
- Specify service token permissions in GitHub Actions example by @nholden in #13
- Change how we establish connection + Rails 6 support by @mscoutermarsh in #15
- update readme to remove database.yml changes by @mscoutermarsh in #16
New Contributors
Full Changelog: v0.1.4...v0.2.0