All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Ability to switch via a Rack app
- Instances when queries are cached between switches
- Fix copying of schemas in when ActiveRecord caches queries
- Print duplication stdout for debugging
- Allow users to set
database_url
in the config - Deprecate setting of config through
Storey
; set through configuration
- Fix instances when the default schema is the wrong schema
- Silence output when creating schemas
- Do not blow up
rake db:create
in Rails 5.2
- Rails 5 support
- Add ability to get the current schema as an array of strings (
array: true
) - Fix specs where PG may or may not return the schemas as with leading spaces (
public, foo,bar
)
- Removed support for Rails 3, 4 and Ruby 2.3. They are no longer tested.
- Test against Ruby 2.5.0
- Fixed dumping of sql files when pg host is remote
- It's already being used in production. About time for a 1.0.0 release.
- Relax pg version dependency. Works with
~> 0.12
- Relax Rails version dependency. Works with
4.0
.
- Removed attr_accessors from Storey::Duplicator (they were never meant to be part of the public API anyway)
- Validate the schema name when creating schemas
- Clean source and target files after duplicating #18
rake storey:migrate VERSION=xxxx
now works and uses theVERSION
environment variablereset_column_information
of all models to avoid strange PostgreSQL errors (see #11)- Add this CHANGELOG :)