From 3cd1904508bcfcf3122c3ef106f12b08c95b6fc0 Mon Sep 17 00:00:00 2001 From: Jonathan Lukas Date: Wed, 31 Jul 2024 15:21:47 +0200 Subject: [PATCH 1/6] add hint about flyway usage --- .../modeler/web-modeler/configuration/database.md | 10 ++++++++++ .../modeler/web-modeler/configuration/database.md | 10 ++++++++++ .../modeler/web-modeler/configuration/database.md | 10 ++++++++++ .../modeler/web-modeler/configuration/database.md | 10 ++++++++++ .../modeler/web-modeler/configuration/database.md | 10 ++++++++++ 5 files changed, 50 insertions(+) diff --git a/docs/self-managed/modeler/web-modeler/configuration/database.md b/docs/self-managed/modeler/web-modeler/configuration/database.md index 441b139b7be..b0294f60593 100644 --- a/docs/self-managed/modeler/web-modeler/configuration/database.md +++ b/docs/self-managed/modeler/web-modeler/configuration/database.md @@ -6,6 +6,16 @@ description: "Read details on how to connect Web Modeler with a database." This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). +## Prepare the database for first usage + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Also, please make sure that no tables and functions are present in your schema before the first initialization. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. + ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: diff --git a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md index 2243a5f89bd..67d00e2bf92 100644 --- a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md @@ -10,6 +10,16 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). +## Prepare the database for first usage + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Also, please make sure that no tables and functions are present in your schema before the first initialization. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. + ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: diff --git a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md index 2243a5f89bd..67d00e2bf92 100644 --- a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md @@ -10,6 +10,16 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). +## Prepare the database for first usage + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Also, please make sure that no tables and functions are present in your schema before the first initialization. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. + ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: diff --git a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md index 2243a5f89bd..67d00e2bf92 100644 --- a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md @@ -10,6 +10,16 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). +## Prepare the database for first usage + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Also, please make sure that no tables and functions are present in your schema before the first initialization. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. + ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: diff --git a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md index 090e1291e3e..552db88f012 100644 --- a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md @@ -10,6 +10,16 @@ Web Modeler Self-Managed is available to [enterprise customers](/reference/licen This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). +## Prepare the database for first usage + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Also, please make sure that no tables and functions are present in your schema before the first initialization. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. + ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: From 3f2de6a8d8200950abc8f957a88eab73a4d0a096 Mon Sep 17 00:00:00 2001 From: Jonathan Lukas Date: Wed, 31 Jul 2024 15:24:52 +0200 Subject: [PATCH 2/6] added a second comment about removing the property after init --- docs/self-managed/modeler/web-modeler/configuration/database.md | 2 +- .../self-managed/modeler/web-modeler/configuration/database.md | 2 +- .../self-managed/modeler/web-modeler/configuration/database.md | 2 +- .../self-managed/modeler/web-modeler/configuration/database.md | 2 +- .../self-managed/modeler/web-modeler/configuration/database.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/self-managed/modeler/web-modeler/configuration/database.md b/docs/self-managed/modeler/web-modeler/configuration/database.md index b0294f60593..f7583340787 100644 --- a/docs/self-managed/modeler/web-modeler/configuration/database.md +++ b/docs/self-managed/modeler/web-modeler/configuration/database.md @@ -14,7 +14,7 @@ Also, please make sure that no tables and functions are present in your schema b If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection diff --git a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md index 67d00e2bf92..1a860213c18 100644 --- a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md @@ -18,7 +18,7 @@ Also, please make sure that no tables and functions are present in your schema b If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection diff --git a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md index 67d00e2bf92..1a860213c18 100644 --- a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md @@ -18,7 +18,7 @@ Also, please make sure that no tables and functions are present in your schema b If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection diff --git a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md index 67d00e2bf92..1a860213c18 100644 --- a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md @@ -18,7 +18,7 @@ Also, please make sure that no tables and functions are present in your schema b If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection diff --git a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md index 552db88f012..acf82876b92 100644 --- a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md @@ -18,7 +18,7 @@ Also, please make sure that no tables and functions are present in your schema b If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration. +To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection From 97965fc0b548304ccb45e5f0588490aeabee0332 Mon Sep 17 00:00:00 2001 From: Christina Ausley Date: Thu, 1 Aug 2024 09:37:42 -0400 Subject: [PATCH 3/6] style(formatting): technical review --- .../modeler/web-modeler/configuration/database.md | 6 +++--- .../modeler/web-modeler/configuration/database.md | 6 +++--- .../modeler/web-modeler/configuration/database.md | 6 +++--- .../modeler/web-modeler/configuration/database.md | 6 +++--- .../modeler/web-modeler/configuration/database.md | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/self-managed/modeler/web-modeler/configuration/database.md b/docs/self-managed/modeler/web-modeler/configuration/database.md index f7583340787..f257f0afd2e 100644 --- a/docs/self-managed/modeler/web-modeler/configuration/database.md +++ b/docs/self-managed/modeler/web-modeler/configuration/database.md @@ -10,11 +10,11 @@ This page describes advanced database connection configuration for Web Modeler. As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. -Also, please make sure that no tables and functions are present in your schema before the first initialization. +Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection diff --git a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md index 1a860213c18..a9f4eeec615 100644 --- a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md @@ -14,11 +14,11 @@ This page describes advanced database connection configuration for Web Modeler. As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. -Also, please make sure that no tables and functions are present in your schema before the first initialization. +Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection diff --git a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md index 1a860213c18..a9f4eeec615 100644 --- a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md @@ -14,11 +14,11 @@ This page describes advanced database connection configuration for Web Modeler. As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. -Also, please make sure that no tables and functions are present in your schema before the first initialization. +Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection diff --git a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md index 1a860213c18..a9f4eeec615 100644 --- a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md @@ -14,11 +14,11 @@ This page describes advanced database connection configuration for Web Modeler. As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. -Also, please make sure that no tables and functions are present in your schema before the first initialization. +Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection diff --git a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md index acf82876b92..678d04ace9b 100644 --- a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md @@ -14,11 +14,11 @@ This page describes advanced database connection configuration for Web Modeler. As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. -Also, please make sure that no tables and functions are present in your schema before the first initialization. +Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like this: `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` -To overcome this issue, please add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. ## Configuring SSL for the database connection From f714ba0d2f5c3f63b10890fb93ebcad49d5fe534 Mon Sep 17 00:00:00 2001 From: Jonathan Lukas Date: Fri, 23 Aug 2024 07:38:02 +0200 Subject: [PATCH 4/6] moved to troubleshooting --- .../modeler/web-modeler/configuration/database.md | 14 ++++---------- .../troubleshoot-database-connection.md | 10 ++++++++++ .../modeler/web-modeler/configuration/database.md | 10 ---------- .../troubleshoot-database-connection.md | 10 ++++++++++ .../modeler/web-modeler/configuration/database.md | 10 ---------- .../troubleshoot-database-connection.md | 10 ++++++++++ .../modeler/web-modeler/configuration/database.md | 10 ---------- .../troubleshoot-database-connection.md | 10 ++++++++++ .../modeler/web-modeler/configuration/database.md | 10 ---------- .../troubleshoot-database-connection.md | 10 ++++++++++ 10 files changed, 54 insertions(+), 50 deletions(-) diff --git a/docs/self-managed/modeler/web-modeler/configuration/database.md b/docs/self-managed/modeler/web-modeler/configuration/database.md index f257f0afd2e..2243a5f89bd 100644 --- a/docs/self-managed/modeler/web-modeler/configuration/database.md +++ b/docs/self-managed/modeler/web-modeler/configuration/database.md @@ -4,17 +4,11 @@ title: "Database" description: "Read details on how to connect Web Modeler with a database." --- -This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). - -## Prepare the database for first usage - -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. +:::note +Web Modeler Self-Managed is available to [enterprise customers](../../../../reference/licenses.md#web-modeler) only. +::: -Before the first initialization, ensure no tables or functions are present in your schema. - -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` - -To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. +This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). ## Configuring SSL for the database connection diff --git a/docs/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/docs/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index 1c15961855b..71b4aa6a93c 100644 --- a/docs/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/docs/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -6,6 +6,16 @@ sidebar_label: "Database connection" You try to start Web Modeler, and encounter issues with the database connection. +## Using a non-empty schema + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Before the first initialization, ensure no tables or functions are present in your schema. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. + ## Secure connection to standard PostgreSQL Refer to the [database configuration guide](../configuration/database.md#configuring-ssl-for-the-database-connection) diff --git a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md index a9f4eeec615..2243a5f89bd 100644 --- a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/configuration/database.md @@ -10,16 +10,6 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). -## Prepare the database for first usage - -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. - -Before the first initialization, ensure no tables or functions are present in your schema. - -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` - -To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. - ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: diff --git a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index fd003da989a..61dfb016dcb 100644 --- a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -10,6 +10,16 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe You try to start Web Modeler, and encounter issues with the database connection. +## Using a non-empty schema + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Before the first initialization, ensure no tables or functions are present in your schema. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. + ## Secure connection to standard PostgreSQL Refer to the [database configuration guide](../configuration/database.md#configuring-ssl-for-the-database-connection) diff --git a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md index a9f4eeec615..2243a5f89bd 100644 --- a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/configuration/database.md @@ -10,16 +10,6 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). -## Prepare the database for first usage - -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. - -Before the first initialization, ensure no tables or functions are present in your schema. - -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` - -To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. - ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: diff --git a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index fd003da989a..61dfb016dcb 100644 --- a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -10,6 +10,16 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe You try to start Web Modeler, and encounter issues with the database connection. +## Using a non-empty schema + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Before the first initialization, ensure no tables or functions are present in your schema. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. + ## Secure connection to standard PostgreSQL Refer to the [database configuration guide](../configuration/database.md#configuring-ssl-for-the-database-connection) diff --git a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md index a9f4eeec615..2243a5f89bd 100644 --- a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/configuration/database.md @@ -10,16 +10,6 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). -## Prepare the database for first usage - -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. - -Before the first initialization, ensure no tables or functions are present in your schema. - -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` - -To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. - ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: diff --git a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index fd003da989a..61dfb016dcb 100644 --- a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -10,6 +10,16 @@ Web Modeler Self-Managed is available to [enterprise customers](../../../../refe You try to start Web Modeler, and encounter issues with the database connection. +## Using a non-empty schema + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Before the first initialization, ensure no tables or functions are present in your schema. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. + ## Secure connection to standard PostgreSQL Refer to the [database configuration guide](../configuration/database.md#configuring-ssl-for-the-database-connection) diff --git a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md index 678d04ace9b..090e1291e3e 100644 --- a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md +++ b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/configuration/database.md @@ -10,16 +10,6 @@ Web Modeler Self-Managed is available to [enterprise customers](/reference/licen This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). -## Prepare the database for first usage - -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. - -Before the first initialization, ensure no tables or functions are present in your schema. - -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` - -To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. - ## Configuring SSL for the database connection The generic way to configure an SSL connection between Web Modeler and the database is as follows: diff --git a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index 0ddb6a530b4..58ff7cf70b9 100644 --- a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -10,6 +10,16 @@ Web Modeler Self-Managed is available to [enterprise customers](/reference/licen You try to start Web Modeler, and encounter issues with the database connection. +## Using a non-empty schema + +As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. + +Before the first initialization, ensure no tables or functions are present in your schema. + +If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` + +To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. + ## Secure connection to standard PostgreSQL Refer to the [database configuration guide](../configuration/database.md#configuring-ssl-for-the-database-connection) From 878553c9a6ad772f4a573b11c269482e530f4e48 Mon Sep 17 00:00:00 2001 From: Jonathan Lukas Date: Fri, 23 Aug 2024 07:39:40 +0200 Subject: [PATCH 5/6] removed accidently copied section --- .../modeler/web-modeler/configuration/database.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/self-managed/modeler/web-modeler/configuration/database.md b/docs/self-managed/modeler/web-modeler/configuration/database.md index 2243a5f89bd..441b139b7be 100644 --- a/docs/self-managed/modeler/web-modeler/configuration/database.md +++ b/docs/self-managed/modeler/web-modeler/configuration/database.md @@ -4,10 +4,6 @@ title: "Database" description: "Read details on how to connect Web Modeler with a database." --- -:::note -Web Modeler Self-Managed is available to [enterprise customers](../../../../reference/licenses.md#web-modeler) only. -::: - This page describes advanced database connection configuration for Web Modeler. For a general guide on how to set up Web Modeler's database connection, visit [the configuration overview](configuration.md#database). ## Configuring SSL for the database connection From b7d409abc7e51027eab8e5608299fad398c683bd Mon Sep 17 00:00:00 2001 From: Christina Ausley Date: Fri, 23 Aug 2024 10:39:23 -0400 Subject: [PATCH 6/6] style(formatting): uppercase Flyway --- .../troubleshooting/troubleshoot-database-connection.md | 4 ++-- .../troubleshooting/troubleshoot-database-connection.md | 4 ++-- .../troubleshooting/troubleshoot-database-connection.md | 4 ++-- .../troubleshooting/troubleshoot-database-connection.md | 4 ++-- .../troubleshooting/troubleshoot-database-connection.md | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/docs/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index 71b4aa6a93c..f8979a5a98e 100644 --- a/docs/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/docs/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -8,11 +8,11 @@ You try to start Web Modeler, and encounter issues with the database connection. ## Using a non-empty schema -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. +As Web Modeler uses [Flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, Flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. diff --git a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index 61dfb016dcb..a0d7a4a7f6d 100644 --- a/versioned_docs/version-8.2/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/versioned_docs/version-8.2/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -12,11 +12,11 @@ You try to start Web Modeler, and encounter issues with the database connection. ## Using a non-empty schema -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. +As Web Modeler uses [Flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, Flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. diff --git a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index 61dfb016dcb..a0d7a4a7f6d 100644 --- a/versioned_docs/version-8.3/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/versioned_docs/version-8.3/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -12,11 +12,11 @@ You try to start Web Modeler, and encounter issues with the database connection. ## Using a non-empty schema -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. +As Web Modeler uses [Flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, Flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. diff --git a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index 61dfb016dcb..a0d7a4a7f6d 100644 --- a/versioned_docs/version-8.4/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/versioned_docs/version-8.4/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -12,11 +12,11 @@ You try to start Web Modeler, and encounter issues with the database connection. ## Using a non-empty schema -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. +As Web Modeler uses [Flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, Flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized. diff --git a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md index 58ff7cf70b9..1e2b0d9aee1 100644 --- a/versioned_docs/version-8.5/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md +++ b/versioned_docs/version-8.5/self-managed/modeler/web-modeler/troubleshooting/troubleshoot-database-connection.md @@ -12,11 +12,11 @@ You try to start Web Modeler, and encounter issues with the database connection. ## Using a non-empty schema -As Web Modeler uses [flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. +As Web Modeler uses [Flyway](https://www.red-gate.com/products/flyway/community/) to manage schema updates, the schema should not be shared. Before the first initialization, ensure no tables or functions are present in your schema. -If your database setup requires mandatory tables or functions, flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` +If your database setup requires mandatory tables or functions, Flyway may throw an exception like `Found non-empty schema(s) "" without schema history table!` To overcome this issue, add the property `spring.flyway.baselineOnMigrate: true` to your Web Modeler configuration and remove it after the schema has been initialized.