| 1 | /* |
| 2 | * Copyright (c) 2024 Amadeus IT Group |
| 3 | * |
| 4 | * This program and the accompanying materials are made available under the |
| 5 | * terms of the Apache License, Version 2.0 which is available at |
| 6 | * https://www.apache.org/licenses/LICENSE-2.0 |
| 7 | * |
| 8 | * SPDX-License-Identifier: Apache-2.0 |
| 9 | * |
| 10 | * Contributors: |
| 11 | * Amadeus IT Group - initial API and implementation |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | -- only intended for and tested with Postgres! |
| 16 | CREATE TABLE IF NOT EXISTS edc_target_node_directory |
| 17 | ( |
| 18 | id VARCHAR PRIMARY KEY NOT NULL, |
| 19 | name VARCHAR NOT NULL, |
| 20 | target_url VARCHAR NOT NULL, |
| 21 | supported_protocols JSON |
| 22 | ); |
| 23 | |
| 24 | COMMENT ON COLUMN edc_target_node_directory.supported_protocols IS 'List<String> serialized as JSON'; |