{
  "schema_version": 1,
  "kind": "constructed SQLite UNIQUE demonstration",
  "captured_at": "2026-11-18T15:08:10.810192+00:00",
  "environment": {
    "python": "3.12.3",
    "sqlite": "3.45.1",
    "sqlite_source_id": "2024-01-30 16:01:20 e876e51a0ed5c5b3126f52e532044363a014bc594cfefa87ffb5b82257ccalt1",
    "platform": "Linux-6.8.0-149-generic-x86_64-with-glibc2.39",
    "transaction_mode": "autocommit",
    "compile_options": [
      "ATOMIC_INTRINSICS=1",
      "COMPILER=gcc-13.3.0",
      "DEFAULT_AUTOVACUUM",
      "DEFAULT_CACHE_SIZE=-2000",
      "DEFAULT_FILE_FORMAT=4",
      "DEFAULT_JOURNAL_SIZE_LIMIT=-1",
      "DEFAULT_MMAP_SIZE=0",
      "DEFAULT_PAGE_SIZE=4096",
      "DEFAULT_PCACHE_INITSZ=20",
      "DEFAULT_RECURSIVE_TRIGGERS",
      "DEFAULT_SECTOR_SIZE=4096",
      "DEFAULT_SYNCHRONOUS=2",
      "DEFAULT_WAL_AUTOCHECKPOINT=1000",
      "DEFAULT_WAL_SYNCHRONOUS=2",
      "DEFAULT_WORKER_THREADS=0",
      "DIRECT_OVERFLOW_READ",
      "ENABLE_COLUMN_METADATA",
      "ENABLE_DBSTAT_VTAB",
      "ENABLE_FTS3",
      "ENABLE_FTS3_PARENTHESIS",
      "ENABLE_FTS3_TOKENIZER",
      "ENABLE_FTS4",
      "ENABLE_FTS5",
      "ENABLE_LOAD_EXTENSION",
      "ENABLE_MATH_FUNCTIONS",
      "ENABLE_PREUPDATE_HOOK",
      "ENABLE_RTREE",
      "ENABLE_SESSION",
      "ENABLE_STMTVTAB",
      "ENABLE_UNLOCK_NOTIFY",
      "ENABLE_UPDATE_DELETE_LIMIT",
      "HAVE_ISNAN",
      "LIKE_DOESNT_MATCH_BLOBS",
      "MALLOC_SOFT_LIMIT=1024",
      "MAX_ATTACHED=10",
      "MAX_COLUMN=2000",
      "MAX_COMPOUND_SELECT=500",
      "MAX_DEFAULT_PAGE_SIZE=32768",
      "MAX_EXPR_DEPTH=1000",
      "MAX_FUNCTION_ARG=127",
      "MAX_LENGTH=1000000000",
      "MAX_LIKE_PATTERN_LENGTH=50000",
      "MAX_MMAP_SIZE=0x7fff0000",
      "MAX_PAGE_COUNT=0xfffffffe",
      "MAX_PAGE_SIZE=65536",
      "MAX_SCHEMA_RETRY=25",
      "MAX_SQL_LENGTH=1000000000",
      "MAX_TRIGGER_DEPTH=1000",
      "MAX_VARIABLE_NUMBER=250000",
      "MAX_VDBE_OP=250000000",
      "MAX_WORKER_THREADS=8",
      "MUTEX_PTHREADS",
      "SECURE_DELETE",
      "SOUNDEX",
      "SYSTEM_MALLOC",
      "TEMP_STORE=1",
      "THREADSAFE=1",
      "USE_URI"
    ]
  },
  "queries": {
    "rows": "SELECT id, region, seq, typeof(region), typeof(seq) FROM samples ORDER BY id",
    "groups": "SELECT region, seq, count(*) FROM samples GROUP BY region, seq HAVING count(*) > 1 ORDER BY region COLLATE BINARY, seq",
    "insert": "INSERT INTO samples(id, region, seq) VALUES (?, ?, ?)"
  },
  "fixtures": [
    {
      "name": "binary_nullable",
      "collation": "BINARY",
      "not_null": false,
      "schema": "CREATE TABLE samples(id INTEGER PRIMARY KEY, region TEXT COLLATE BINARY, seq INTEGER, UNIQUE(region, seq))",
      "steps": [
        {
          "id": 1,
          "name": "seed",
          "parameters": [
            1,
            "A",
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 2,
          "name": "ascii_variant",
          "parameters": [
            2,
            "a",
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 3,
          "name": "different_second",
          "parameters": [
            3,
            "a",
            2
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 4,
          "name": "exact_repeat",
          "parameters": [
            4,
            "A",
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_UNIQUE",
            "code": 2067
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 5,
          "name": "null_second",
          "parameters": [
            5,
            "A",
            null
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ]
          ]
        },
        {
          "id": 6,
          "name": "repeat_null_second",
          "parameters": [
            6,
            "A",
            null
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ]
          ]
        },
        {
          "id": 7,
          "name": "null_first",
          "parameters": [
            7,
            null,
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ]
          ]
        },
        {
          "id": 8,
          "name": "repeat_null_first",
          "parameters": [
            8,
            null,
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ]
          ]
        },
        {
          "id": 9,
          "name": "both_null",
          "parameters": [
            9,
            null,
            null
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ],
            [
              9,
              null,
              null,
              "null",
              "null"
            ]
          ]
        },
        {
          "id": 10,
          "name": "repeat_both_null",
          "parameters": [
            10,
            null,
            null
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ],
            [
              9,
              null,
              null,
              "null",
              "null"
            ],
            [
              10,
              null,
              null,
              "null",
              "null"
            ]
          ]
        },
        {
          "id": 11,
          "name": "non_ascii_upper",
          "parameters": [
            11,
            "\u00c4",
            3
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ],
            [
              9,
              null,
              null,
              "null",
              "null"
            ],
            [
              10,
              null,
              null,
              "null",
              "null"
            ],
            [
              11,
              "\u00c4",
              3,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 12,
          "name": "non_ascii_lower",
          "parameters": [
            12,
            "\u00e4",
            3
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ],
            [
              9,
              null,
              null,
              "null",
              "null"
            ],
            [
              10,
              null,
              null,
              "null",
              "null"
            ],
            [
              11,
              "\u00c4",
              3,
              "text",
              "integer"
            ],
            [
              12,
              "\u00e4",
              3,
              "text",
              "integer"
            ]
          ]
        }
      ],
      "duplicate_groups": [
        [
          null,
          null,
          2
        ],
        [
          null,
          1,
          2
        ],
        [
          "A",
          null,
          2
        ]
      ],
      "integrity_check": [
        [
          "ok"
        ]
      ]
    },
    {
      "name": "nocase_nullable",
      "collation": "NOCASE",
      "not_null": false,
      "schema": "CREATE TABLE samples(id INTEGER PRIMARY KEY, region TEXT COLLATE NOCASE, seq INTEGER, UNIQUE(region, seq))",
      "steps": [
        {
          "id": 1,
          "name": "seed",
          "parameters": [
            1,
            "A",
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 2,
          "name": "ascii_variant",
          "parameters": [
            2,
            "a",
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_UNIQUE",
            "code": 2067
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 3,
          "name": "different_second",
          "parameters": [
            3,
            "a",
            2
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 4,
          "name": "exact_repeat",
          "parameters": [
            4,
            "A",
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_UNIQUE",
            "code": 2067
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 5,
          "name": "null_second",
          "parameters": [
            5,
            "A",
            null
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ]
          ]
        },
        {
          "id": 6,
          "name": "repeat_null_second",
          "parameters": [
            6,
            "A",
            null
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ]
          ]
        },
        {
          "id": 7,
          "name": "null_first",
          "parameters": [
            7,
            null,
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ]
          ]
        },
        {
          "id": 8,
          "name": "repeat_null_first",
          "parameters": [
            8,
            null,
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ]
          ]
        },
        {
          "id": 9,
          "name": "both_null",
          "parameters": [
            9,
            null,
            null
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ],
            [
              9,
              null,
              null,
              "null",
              "null"
            ]
          ]
        },
        {
          "id": 10,
          "name": "repeat_both_null",
          "parameters": [
            10,
            null,
            null
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ],
            [
              9,
              null,
              null,
              "null",
              "null"
            ],
            [
              10,
              null,
              null,
              "null",
              "null"
            ]
          ]
        },
        {
          "id": 11,
          "name": "non_ascii_upper",
          "parameters": [
            11,
            "\u00c4",
            3
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ],
            [
              9,
              null,
              null,
              "null",
              "null"
            ],
            [
              10,
              null,
              null,
              "null",
              "null"
            ],
            [
              11,
              "\u00c4",
              3,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 12,
          "name": "non_ascii_lower",
          "parameters": [
            12,
            "\u00e4",
            3
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              5,
              "A",
              null,
              "text",
              "null"
            ],
            [
              6,
              "A",
              null,
              "text",
              "null"
            ],
            [
              7,
              null,
              1,
              "null",
              "integer"
            ],
            [
              8,
              null,
              1,
              "null",
              "integer"
            ],
            [
              9,
              null,
              null,
              "null",
              "null"
            ],
            [
              10,
              null,
              null,
              "null",
              "null"
            ],
            [
              11,
              "\u00c4",
              3,
              "text",
              "integer"
            ],
            [
              12,
              "\u00e4",
              3,
              "text",
              "integer"
            ]
          ]
        }
      ],
      "duplicate_groups": [
        [
          null,
          null,
          2
        ],
        [
          null,
          1,
          2
        ],
        [
          "A",
          null,
          2
        ]
      ],
      "integrity_check": [
        [
          "ok"
        ]
      ]
    },
    {
      "name": "binary_required",
      "collation": "BINARY",
      "not_null": true,
      "schema": "CREATE TABLE samples(id INTEGER PRIMARY KEY, region TEXT COLLATE BINARY NOT NULL, seq INTEGER NOT NULL, UNIQUE(region, seq))",
      "steps": [
        {
          "id": 1,
          "name": "seed",
          "parameters": [
            1,
            "A",
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 2,
          "name": "ascii_variant",
          "parameters": [
            2,
            "a",
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 3,
          "name": "different_second",
          "parameters": [
            3,
            "a",
            2
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 4,
          "name": "exact_repeat",
          "parameters": [
            4,
            "A",
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_UNIQUE",
            "code": 2067
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 5,
          "name": "null_second",
          "parameters": [
            5,
            "A",
            null
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 6,
          "name": "repeat_null_second",
          "parameters": [
            6,
            "A",
            null
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 7,
          "name": "null_first",
          "parameters": [
            7,
            null,
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 8,
          "name": "repeat_null_first",
          "parameters": [
            8,
            null,
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 9,
          "name": "both_null",
          "parameters": [
            9,
            null,
            null
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 10,
          "name": "repeat_both_null",
          "parameters": [
            10,
            null,
            null
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 11,
          "name": "non_ascii_upper",
          "parameters": [
            11,
            "\u00c4",
            3
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              11,
              "\u00c4",
              3,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 12,
          "name": "non_ascii_lower",
          "parameters": [
            12,
            "\u00e4",
            3
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              2,
              "a",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              11,
              "\u00c4",
              3,
              "text",
              "integer"
            ],
            [
              12,
              "\u00e4",
              3,
              "text",
              "integer"
            ]
          ]
        }
      ],
      "duplicate_groups": [],
      "integrity_check": [
        [
          "ok"
        ]
      ]
    },
    {
      "name": "nocase_required",
      "collation": "NOCASE",
      "not_null": true,
      "schema": "CREATE TABLE samples(id INTEGER PRIMARY KEY, region TEXT COLLATE NOCASE NOT NULL, seq INTEGER NOT NULL, UNIQUE(region, seq))",
      "steps": [
        {
          "id": 1,
          "name": "seed",
          "parameters": [
            1,
            "A",
            1
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 2,
          "name": "ascii_variant",
          "parameters": [
            2,
            "a",
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_UNIQUE",
            "code": 2067
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 3,
          "name": "different_second",
          "parameters": [
            3,
            "a",
            2
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 4,
          "name": "exact_repeat",
          "parameters": [
            4,
            "A",
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_UNIQUE",
            "code": 2067
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 5,
          "name": "null_second",
          "parameters": [
            5,
            "A",
            null
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 6,
          "name": "repeat_null_second",
          "parameters": [
            6,
            "A",
            null
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 7,
          "name": "null_first",
          "parameters": [
            7,
            null,
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 8,
          "name": "repeat_null_first",
          "parameters": [
            8,
            null,
            1
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 9,
          "name": "both_null",
          "parameters": [
            9,
            null,
            null
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 10,
          "name": "repeat_both_null",
          "parameters": [
            10,
            null,
            null
          ],
          "accepted": false,
          "error": {
            "name": "SQLITE_CONSTRAINT_NOTNULL",
            "code": 1299
          },
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 11,
          "name": "non_ascii_upper",
          "parameters": [
            11,
            "\u00c4",
            3
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              11,
              "\u00c4",
              3,
              "text",
              "integer"
            ]
          ]
        },
        {
          "id": 12,
          "name": "non_ascii_lower",
          "parameters": [
            12,
            "\u00e4",
            3
          ],
          "accepted": true,
          "error": null,
          "rows": [
            [
              1,
              "A",
              1,
              "text",
              "integer"
            ],
            [
              3,
              "a",
              2,
              "text",
              "integer"
            ],
            [
              11,
              "\u00c4",
              3,
              "text",
              "integer"
            ],
            [
              12,
              "\u00e4",
              3,
              "text",
              "integer"
            ]
          ]
        }
      ],
      "duplicate_groups": [],
      "integrity_check": [
        [
          "ok"
        ]
      ]
    }
  ]
}
