Swift: Add db upgrade/downgrade scripts for key-path component extraction.

I've marked both scripts as "partial" since we're extracting different AST components for key-paths and don't have a good way to convert between them in QL. Each deletes the corresponding tables, but leaves non-key-path functionality intact.
This commit is contained in:
Alexandre Boulgakov
2023-04-11 14:00:13 +01:00
parent 35a2d55d18
commit b900185ae3
6 changed files with 10468 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
description: Use unsafe parsed-path expression instead of component list in keypaths.
compatibility: partial
key_path_expr_components.rel: delete
key_path_components.rel: delete
key_path_component_subscript_arguments.rel: delete
key_path_component_tuple_indices.rel: delete
key_path_component_decl_refs.rel: delete

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
description: Use component list instead of unsafe parsed-path expression in keypaths.
compatibility: partial
key_path_expr_parsed_paths.rel: delete