Skip to content

Commit

Permalink
add env in jooq gradle for issue reportportal#722
Browse files Browse the repository at this point in the history
  • Loading branch information
Santosh Arumugam committed Apr 28, 2021
1 parent d13ea9f commit 8ee76a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jooq.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jooq {
}
database {
name = 'org.jooq.meta.postgres.PostgresDatabase'
inputSchema = 'public'
inputSchema = (hasDBSchema ? getProperty('DB_SCHEMA_POSTGRES') : 'public')
// ...
excludes = 'batch_.*|schema_migrations'
}
Expand Down
1 change: 1 addition & 0 deletions project-properties.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def migrationsScriptsUrl = 'https://raw.githubusercontent.com/reportportal/migra

project.ext {
releaseMode = project.hasProperty("releaseMode")
hasDBSchema = project.hasProperty("DB_SCHEMA_POSTGRES")
scriptsUrl = commonScriptsUrl + (releaseMode ? getProperty('scripts.version') : 'develop')
migrationsUrl = migrationsScriptsUrl + (releaseMode ? getProperty('migrations.version') : 'develop')
//TODO refactor with archive download
Expand Down

0 comments on commit 8ee76a2

Please sign in to comment.