Skip to content

Commit

Permalink
create extension if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Nov 2, 2020
1 parent 2b33a9b commit f0bc97d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/lavagna/service/DatabaseMigrator.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private void doMigration(LavagnaEnvironment env, DataSource dataSource, Migratio
String sqlDialect = env.getRequiredProperty("datasource.dialect");
Flyway migration = new Flyway();
migration.setDataSource(dataSource);
// FIXME remove the validation = false when the schemas will be stable
//
migration.setValidateOnMigrate(false);
//

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
--

--
create extension unaccent;
create extension if not exists unaccent;
--


Expand Down

0 comments on commit f0bc97d

Please sign in to comment.