Skip to content

Releases: db-schema/core

v0.5

Choose a tag to compare

@7even 7even released this 14 Mar 14:05

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

v0.5.rc1 Pre-release
Pre-release

Choose a tag to compare

@7even 7even released this 14 Mar 13:59

Release candidate for an upcoming 0.5 version

v0.4.1

Choose a tag to compare

@7even 7even released this 04 Nov 15:12

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

v0.4

Choose a tag to compare

@7even 7even released this 04 Nov 15:06

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

Choose a tag to compare

@7even 7even released this 04 Nov 15:00

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

v0.3

Choose a tag to compare

@7even 7even released this 24 Oct 15:54
  • 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

v0.3.rc1 Pre-release
Pre-release

Choose a tag to compare

@7even 7even released this 24 Oct 15:54

Release candidate for an upcoming 0.3 version.

v0.2.5

Choose a tag to compare

@7even 7even released this 30 Apr 13:43

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

Choose a tag to compare

@7even 7even released this 11 Dec 15:34

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

v0.2.3

Choose a tag to compare

@7even 7even released this 01 Dec 08:55

Support for Postgres arrays of enums.