-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add property maps indexing to collections v2 (#437)
* add property maps indexing to collections v2 * add if exists * add field to insert_ queries
- Loading branch information
Showing
5 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...b/postgres/migrations/2024-07-01-204112_add_collection_properties_to_collections/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ALTER TABLE current_collections_v2 | ||
DROP COLUMN IF EXISTS collection_properties; | ||
|
||
ALTER TABLE collections_v2 | ||
DROP COLUMN IF EXISTS collection_properties; |
5 changes: 5 additions & 0 deletions
5
.../db/postgres/migrations/2024-07-01-204112_add_collection_properties_to_collections/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ALTER TABLE current_collections_v2 | ||
ADD COLUMN collection_properties JSONB; | ||
|
||
ALTER TABLE collections_v2 | ||
ADD COLUMN collection_properties JSONB; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters