Skip to content

Commit f762693

Browse files
authored
Implement ADD INDEX and DROP INDEX (#196)
This PR implements `ADD INDEX` and `DROP INDEX` statements in the new driver. It was necessary to reorganize some bits of the information schema builder, as indexes and constraints overlap in both the grammar (ALTER TABLE uses a `tableConstraintDef` node for both indexes and constraints), and in reality (UNIQUE index needs a constraint, UNIQUE constraint needs an index, making them equivalent).
2 parents e401ef1 + ef9dca1 commit f762693

5 files changed

+883
-126
lines changed

0 commit comments

Comments
 (0)