-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add SQL migrations to reflect recent upstream changes
- Loading branch information
1 parent
f4cc866
commit 0794d4a
Showing
5 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...ractusx/edc/postgresql/migration/asset/V0_0_4__Alter_Asset_Property_add_IsPrivateFlag.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,16 @@ | ||
-- | ||
-- Copyright (c) 2022 Mercedes-Benz Tech Innovation GmbH | ||
-- | ||
-- 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: | ||
-- Mercedes-Benz Tech Innovation GmbH - EDC Snapshot 20220815 Update | ||
-- | ||
|
||
-- add columns | ||
ALTER TABLE edc_asset_property | ||
ADD COLUMN property_is_private BOOLEAN; |
16 changes: 16 additions & 0 deletions
16
...tgresql/migration/contractdefinition/V0_0_5__Alter_ContractDefinition_Remove_validity.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,16 @@ | ||
-- | ||
-- Copyright (c) 2022 Mercedes-Benz Tech Innovation GmbH | ||
-- | ||
-- 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: | ||
-- Mercedes-Benz Tech Innovation GmbH - EDC Snapshot 20221201 Update | ||
-- | ||
|
||
-- add columns | ||
ALTER TABLE edc_contract_definitions | ||
DROP COLUMN validity; |
16 changes: 16 additions & 0 deletions
16
...ostgresql/migration/contractnegotiation/V0_0_6__Alter_ContractNegotiation_Change_Type.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,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 | ||
-- | ||
|
||
-- alter type of column "type" | ||
ALTER TABLE edc_contract_negotiation | ||
ALTER COLUMN type TYPE VARCHAR |
File renamed without changes.
18 changes: 18 additions & 0 deletions
18
...ostgresql/migration/transferprocess/V0_0_9__Alter_TransferProcess_Remove_Transfertype.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,18 @@ | ||
-- | ||
-- 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 | ||
-- | ||
|
||
-- add column | ||
ALTER TABLE edc_transfer_process | ||
RENAME COLUMN transferprocess_properties TO properties; | ||
ALTER TABLE edc_transfer_process | ||
DROP COLUMN IF EXISTS transfer_type; |