Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

1.5 KB
Raw Blame
- statement: CREATE TABLE book(id int AUTO_INCREMENT)
  changeType: 1
- statement: CREATE TABLE book(a int AUTO_INCREMENT)
  changeType: 1
  want:
    - status: 2
      code: 307
      title: NAMING_COLUMN_AUTO_INCREMENT
      content: '`book`.`a` mismatches auto_increment column naming convention, naming format should be "^id$"'
      startposition:
        line: 1
        column: 0
      endposition: null
- statement: ALTER TABLE tech_book ADD COLUMN a int AUTO_INCREMENT
  changeType: 1
  want:
    - status: 2
      code: 307
      title: NAMING_COLUMN_AUTO_INCREMENT
      content: '`tech_book`.`a` mismatches auto_increment column naming convention, naming format should be "^id$"'
      startposition:
        line: 1
        column: 0
      endposition: null
- statement: ALTER TABLE tech_book CHANGE COLUMN id a int AUTO_INCREMENT
  changeType: 1
  want:
    - status: 2
      code: 307
      title: NAMING_COLUMN_AUTO_INCREMENT
      content: '`tech_book`.`a` mismatches auto_increment column naming convention, naming format should be "^id$"'
      startposition:
        line: 1
        column: 0
      endposition: null
- statement: ALTER TABLE tech_book MODIFY COLUMN name int AUTO_INCREMENT
  changeType: 1
  want:
    - status: 2
      code: 307
      title: NAMING_COLUMN_AUTO_INCREMENT
      content: '`tech_book`.`name` mismatches auto_increment column naming convention, naming format should be "^id$"'
      startposition:
        line: 1
        column: 0
      endposition: null