Files
turso/core/translate/optimizer
Jussi Saurio e3bd00883b Fix creation of automatic indexes
indexes with the naming scheme "sqlite_autoindex_<tblname>_<number>"
are automatically created when a table is created with UNIQUE or
PRIMARY KEY definitions.

these indexes must map to the table definition SQL in definition order,
i.e. sqlite_autoindex_foo_1 must be the first instance of UNIQUE or
PRIMARY KEY and so on.

this commit fixes our autoindex creation / parsing so that this invariant
is upheld.
2025-09-11 14:11:30 +03:00
..
2025-08-21 15:19:16 -03:00
2025-08-21 15:19:16 -03:00
2025-06-23 19:52:13 +01:00
2025-09-11 14:11:30 +03:00
2025-09-10 14:54:51 +03:00