Skip to content

Commit

Permalink
Merge pull request #949 from Think-iT-Labs/933-assets-selector-json
Browse files Browse the repository at this point in the history
feat: switch assets_selector type from text to json
  • Loading branch information
ndr-brt authored Dec 20, 2023
2 parents c431a9c + 69c6c83 commit a25c7ad
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
--
-- Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
--
-- This program and the accompanying materials are made available under the
-- terms of the Apache License, Version 2.0 which is available at
-- https://www.apache.org/licenses/LICENSE-2.0
--
-- SPDX-License-Identifier: Apache-2.0
--
-- Contributors:
-- Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation
--

-- switch assets_selector type to json
ALTER TABLE edc_contract_definitions
ALTER COLUMN assets_selector TYPE JSON USING assets_selector::JSON;

0 comments on commit a25c7ad

Please sign in to comment.