diff --git a/VERSION b/VERSION index 9d25b39..ac2282a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.89 +1.0.90 diff --git a/linux/arch/PKGBUILD b/linux/arch/PKGBUILD index 0d695f7..190d64f 100644 --- a/linux/arch/PKGBUILD +++ b/linux/arch/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Hein (Warky Devs) pkgname=relspec -pkgver=1.0.89 +pkgver=1.0.90 pkgrel=1 pkgdesc="RelSpec is a comprehensive database relations management tool that reads, transforms, and writes database table specifications across multiple formats and ORMs." arch=('x86_64' 'aarch64') diff --git a/linux/centos/relspec.spec b/linux/centos/relspec.spec index a2c9206..f39bef2 100644 --- a/linux/centos/relspec.spec +++ b/linux/centos/relspec.spec @@ -1,5 +1,5 @@ Name: relspec -Version: 1.0.89 +Version: 1.0.90 Release: 1%{?dist} Summary: RelSpec is a comprehensive database relations management tool that reads, transforms, and writes database table specifications across multiple formats and ORMs. diff --git a/pkg/writers/pgsql/migration_writer_test.go b/pkg/writers/pgsql/migration_writer_test.go index 4b183d7..8ee3568 100644 --- a/pkg/writers/pgsql/migration_writer_test.go +++ b/pkg/writers/pgsql/migration_writer_test.go @@ -1181,7 +1181,7 @@ func TestWriteMigration_UniqueConstraintAdoptsSameNamedModelIndex(t *testing.T) if got := strings.Contains(output, "UNIQUE USING INDEX"); got != tt.wantAdopt { t.Errorf("USING INDEX present = %v, want %v; output:\n%s", got, tt.wantAdopt, output) } - if got := strings.Contains(output, "UNIQUE (\"guid\")") || strings.Contains(output, "UNIQUE (\"guid\")"); got == tt.wantAdopt { + if got := strings.Contains(output, "UNIQUE (\"guid\")"); got == tt.wantAdopt { t.Errorf("column-list ADD CONSTRAINT present = %v, want %v; output:\n%s", got, !tt.wantAdopt, output) } if got := strings.Contains(output, "DROP INDEX"); got != tt.wantDrop {