Skip to content

Releases: db-schema/core

v0.5

14 Mar 14:05
Compare
Choose a tag to compare

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

14 Mar 13:59
Compare
Choose a tag to compare
v0.5.rc1 Pre-release
Pre-release

Release candidate for an upcoming 0.5 version

v0.4.1

04 Nov 15:12
Compare
Choose a tag to compare

Support for primary key fields with types other than integer (without auto-increment feature though).

v0.4

04 Nov 15:06
Compare
Choose a tag to compare

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

04 Nov 15:00
Compare
Choose a tag to compare

Bugfixes in Normalizer for schemas containing custom SQL (in check constraints, column default values etc) that mentions enum types.

v0.3

24 Oct 15:54
Compare
Choose a tag to compare
  • 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

24 Oct 15:54
Compare
Choose a tag to compare
v0.3.rc1 Pre-release
Pre-release

Release candidate for an upcoming 0.3 version.

v0.2.5

30 Apr 13:43
Compare
Choose a tag to compare

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

11 Dec 15:34
Compare
Choose a tag to compare

A bugfix for adding 2 tables (one referencing another via a foreign key) on one run.

v0.2.3

01 Dec 08:55
Compare
Choose a tag to compare

Support for Postgres arrays of enums.