diff --git a/dinky-admin/src/main/resources/db/migration/h2/V20240827.1.1.1__release.sql b/dinky-admin/src/main/resources/db/migration/h2/V20240827.1.2.0__release.sql similarity index 100% rename from dinky-admin/src/main/resources/db/migration/h2/V20240827.1.1.1__release.sql rename to dinky-admin/src/main/resources/db/migration/h2/V20240827.1.2.0__release.sql diff --git a/dinky-admin/src/main/resources/db/migration/mysql/V20240827.1.1.1__release.sql b/dinky-admin/src/main/resources/db/migration/mysql/V20240827.1.2.0__release.sql similarity index 100% rename from dinky-admin/src/main/resources/db/migration/mysql/V20240827.1.1.1__release.sql rename to dinky-admin/src/main/resources/db/migration/mysql/V20240827.1.2.0__release.sql diff --git a/dinky-admin/src/main/resources/db/migration/pgsql/V20240708.1.1.0__release.sql b/dinky-admin/src/main/resources/db/migration/pgsql/V20240708.1.1.0__release.sql index 6794727623..8f47b01eea 100644 --- a/dinky-admin/src/main/resources/db/migration/pgsql/V20240708.1.1.0__release.sql +++ b/dinky-admin/src/main/resources/db/migration/pgsql/V20240708.1.1.0__release.sql @@ -134,5 +134,3 @@ SET FROM dinky_resources r WHERE duml.resources_id = r.id; - --- todo dashboard还未迁移 diff --git a/dinky-admin/src/main/resources/db/migration/pgsql/V20240827.1.1.1__release.sql b/dinky-admin/src/main/resources/db/migration/pgsql/V20240827.1.2.0__release.sql similarity index 91% rename from dinky-admin/src/main/resources/db/migration/pgsql/V20240827.1.1.1__release.sql rename to dinky-admin/src/main/resources/db/migration/pgsql/V20240827.1.2.0__release.sql index b13d733631..29396b2997 100644 --- a/dinky-admin/src/main/resources/db/migration/pgsql/V20240827.1.1.1__release.sql +++ b/dinky-admin/src/main/resources/db/migration/pgsql/V20240827.1.2.0__release.sql @@ -49,4 +49,6 @@ CREATE OR REPLACE TRIGGER update_dinky_dashboard_update_time BEFORE UPDATE ON public.dinky_dashboard FOR EACH ROW -EXECUTE FUNCTION trigger_set_timestamp(); \ No newline at end of file +EXECUTE FUNCTION trigger_set_timestamp(); + +SELECT add_column_if_not_exists('public','dinky_metrics', 'vertices_title', 'text', 'null', 'vertices title');