Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
- statement: CREATE UNIQUE INDEX uk_tech_book_id_name ON tech_book(id, name)
changeType: 1
- statement: CREATE UNIQUE INDEX tech_book_id_name ON tech_book(id, name)
changeType: 1
want:
- status: 2
code: 304
title: NAMING_INDEX_UK
content: Unique key in table "tech_book" mismatches the naming convention, expect "^$|^uk_tech_book_id_name$" but found "tech_book_id_name"
startposition:
line: 1
column: 0
endposition: null
- statement: CREATE UNIQUE INDEX dzfzqbhnkiiegdhvqjeqoevesfuwcmokrehxlapoqj ON tech_book(id, name)
changeType: 1
want:
- status: 2
code: 304
title: NAMING_INDEX_UK
content: Unique key in table "tech_book" mismatches the naming convention, expect "^$|^uk_tech_book_id_name$" but found "dzfzqbhnkiiegdhvqjeqoevesfuwcmokrehxlapoqj"
startposition:
line: 1
column: 0
endposition: null
- statement: ALTER TABLE tech_book ADD CONSTRAINT uk_tech_book_id_name UNIQUE (id, name)
changeType: 1
- statement: ALTER TABLE tech_book ADD CONSTRAINT tech_book_id_name UNIQUE (id, name)
changeType: 1
want:
- status: 2
code: 304
title: NAMING_INDEX_UK
content: Unique key in table "tech_book" mismatches the naming convention, expect "^$|^uk_tech_book_id_name$" but found "tech_book_id_name"
startposition:
line: 1
column: 0
endposition: null
- statement: CREATE TABLE book(id INT PRIMARY KEY, name VARCHAR(20), CONSTRAINT uk_book_name UNIQUE (name))
changeType: 1
- statement: |-
-- this is the first line.
CREATE TABLE book(
id INT PRIMARY KEY,
name VARCHAR(20),
CONSTRAINT book_name UNIQUE (name)
)
changeType: 1
want:
- status: 2
code: 304
title: NAMING_INDEX_UK
content: Unique key in table "book" mismatches the naming convention, expect "^$|^uk_book_name$" but found "book_name"
startposition:
line: 5
column: 0
endposition: null
- statement: CREATE TABLE book(id INT PRIMARY KEY, name VARCHAR(20), UNIQUE (name))
changeType: 1
- statement: CREATE TABLE book(id INT PRIMARY KEY, name VARCHAR(20) UNIQUE)
changeType: 1
- statement: ALTER TABLE tech_book ADD CONSTRAINT uk_tech_book_id_name UNIQUE USING INDEX old_index
changeType: 1
- statement: ALTER TABLE tech_book ADD CONSTRAINT uk_tech_book UNIQUE USING INDEX old_index
changeType: 1
want:
- status: 2
code: 304
title: NAMING_INDEX_UK
content: Unique key in table "tech_book" mismatches the naming convention, expect "^$|^uk_tech_book_id_name$" but found "uk_tech_book"
startposition:
line: 1
column: 0
endposition: null
- statement: ALTER TABLE tech_book RENAME CONSTRAINT old_uk TO uk_tech_book_id_name
changeType: 1
- statement: ALTER TABLE tech_book RENAME CONSTRAINT old_uk TO uk_tech_book
changeType: 1
want:
- status: 2
code: 304
title: NAMING_INDEX_UK
content: Unique key in table "tech_book" mismatches the naming convention, expect "^$|^uk_tech_book_id_name$" but found "uk_tech_book"
startposition:
line: 1
column: 0
endposition: null
- statement: ALTER INDEX old_uk RENAME TO uk_tech_book_id_name
changeType: 1
- statement: ALTER INDEX old_uk RENAME TO uk_tech_book
changeType: 1
want:
- status: 2
code: 304
title: NAMING_INDEX_UK
content: Unique key in table "tech_book" mismatches the naming convention, expect "^$|^uk_tech_book_id_name$" but found "uk_tech_book"
startposition:
line: 1
column: 0
endposition: null