Skip to content

Commit

Permalink
fix: correct liquibase dashboard script
Browse files Browse the repository at this point in the history
(cherry picked from commit 8c5fd49)
  • Loading branch information
Okhelifi committed Mar 26, 2024
1 parent af6b9b5 commit 778ad07
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -2,6 +2,7 @@ databaseChangeLog:
- changeSet:
id: 4.0.20-dashboards
author: GraviteeSource Team
runOnChange: true
changes:
# ################
# Dashboards changes
Expand All @@ -12,9 +13,11 @@ databaseChangeLog:
- column:
name: type
type: nvarchar(64)
constraints:
nullable: false
- sql:
sql: update ${gravitee_prefix}dashboards set type = reference_type
- addNotNullConstraint:
tableName: ${gravitee_prefix}dashboards
columnName: type
defaultNullValue: PLATFORM
- sql:
sql: update ${gravitee_prefix}dashboards set reference_type = 'ENVIRONMENT'

0 comments on commit 778ad07

Please sign in to comment.