Skip to content

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

862 B
Raw Blame
- statement: CREATE TABLE t(a int) COMMENT 'some comments'
  changeType: 1
  want:
    - status: 2
      code: 1301
      title: TABLE_COMMENT
      content: The length of table `t` comment should be within 10 characters
      startposition:
        line: 1
        column: 0
      endposition: null
- statement: CREATE TABLE t(a int)
  changeType: 1
  want:
    - status: 2
      code: 1032
      title: TABLE_COMMENT
      content: Table `t` requires comments
      startposition:
        line: 1
        column: 0
      endposition: null
- statement: CREATE TABLE t(a int) COMMENT 'sdlfkjalkseblkjduafelbnlsdfkljayue'
  changeType: 1
  want:
    - status: 2
      code: 1301
      title: TABLE_COMMENT
      content: The length of table `t` comment should be within 10 characters
      startposition:
        line: 1
        column: 0
      endposition: null