Skip to content

Tags: go-pg/migrations

Tags

v8.1.0

Toggle v8.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add a way to disable automatic schema creation (#106)

* Don't try to create a schema that exists

This commit removes the behavior of executing `CREATE SCHEMA IF NOT EXISTS`
when the schema already exists. This would fail when the schema is created
beforehand (by a superuser) and the current user doesn't have the `CREATE`
privilege on the current database, hence is not allowed to create the schema.

We do keep the `IF NOT EXISTS` part of the query to avoid a (probably very
rare) race condition in which the schema wouldn't exist during the initial
check but would when attempting to create it.

* Remove special handling of the "public" schema

We now do attempt to create it if not exists.

Note that the `CREATE SCHEMA IF NOT EXISTS <schema>` query is now
always run at init, even if the schema is "public".

v8.0.2

Toggle v8.0.2's commit message
Move filepath.Abs

v8.0.1

Toggle v8.0.1's commit message
Update dependencie

v8.0.0

Toggle v8.0.0's commit message
Update dependencie

v7.1.11

Toggle v7.1.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #89 from TankerHQ/max/allow-select-version-during-…

…migration

Allow collection.Version() calls during a migration

v8.0.0-beta.1

Toggle v8.0.0-beta.1's commit message
Update go-pg

v8.0.0-alpha.0

Toggle v8.0.0-alpha.0's commit message
v8

v7.1.10

Toggle v7.1.10's commit message
Update deps

v7.1.9

Toggle v7.1.9's commit message
readme: update

v7.1.8

Toggle v7.1.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #83 from vovainside/master

Update compatibility with CockroachDB