Releases: db-schema/core
Releases · db-schema/core
v0.5
Full support for SERIAL column types and primary keys:
- serial fields without a primary key
- one-column and multi-column primary keys on columns of any type
- ability to add & remove primary keys without touching the table columns
v0.5.rc1
Release candidate for an upcoming 0.5
version
v0.4.1
Support for primary key fields with types other than integer (without auto-increment feature though).
v0.4
Postgres database structure reader is extracted to a separate gem. All definition classes (tables, fields, indexes etc) are also extracted as they are needed both in the core gem and in the Postgres reader.
v0.3.1
Bugfixes in Normalizer for schemas containing custom SQL (in check constraints, column default values etc) that mentions enum types.
v0.3
- new feature called Conditional Migrations that allows a custom transition to the desired schema
DbSchema.current_schema
method exposing current database schema that can be analyzed
- rewritten database connection management:
- DbSchema now closes it's own connection after completing all operations
- it's now possible to inject your own connection to be used by DbSchema
:url
parameter support
v0.3.rc1
Release candidate for an upcoming 0.3
version.
v0.2.5
New way of dealing with enum changes: supports deleting and reordering values while doing everything within a transaction (former mechanism could only add new values and had to be launched after the main transaction completes).
v0.2.4
A bugfix for adding 2 tables (one referencing another via a foreign key) on one run.
v0.2.3
Support for Postgres arrays of enums.