OpenMetadata/bootstrap/sql/com.mysql.cj.jdbc.Driver/v012__create_db_connection_info.sql

8 lines
334 B
MySQL
Raw Normal View History

-- use FQN instead of name for Test Connection Definition
ALTER TABLE test_connection_definition
ADD fullyQualifiedName VARCHAR(256) GENERATED ALWAYS AS (json ->> '$.fullyQualifiedName') NOT NULL,
DROP COLUMN name;
-- Since we are not deleting the test connection defs anymore, clean it up
TRUNCATE TABLE test_connection_definition;