mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-03 08:24:19 +01:00
Merge 'antithesis-tests: don't create CHECK constraints' from Jussi Saurio
we don't support them, and we just started returning parse errors for trying to do so -> failures in antithesis runs Closes #3763
This commit is contained in:
@@ -49,7 +49,7 @@ print(f"Creating new table: tbl_{next_table_num}")
|
||||
|
||||
# Define possible data types and constraints
|
||||
data_types = ["INTEGER", "REAL", "TEXT", "BLOB", "NUMERIC"]
|
||||
constraints = ["", "NOT NULL", "DEFAULT 0", "DEFAULT ''", "UNIQUE", "CHECK (col_0 > 0)"]
|
||||
constraints = ["", "NOT NULL", "DEFAULT 0", "DEFAULT ''", "UNIQUE"]
|
||||
|
||||
# Generate random number of columns (2-10)
|
||||
col_count = 2 + (get_random() % 9)
|
||||
|
||||
Reference in New Issue
Block a user