Skip to content

Commit

Permalink
Update migration strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslanys committed Oct 19, 2017
1 parent be8753f commit 6a05312
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Spring Boot обновлен до 1.5.8.RELEASE.
- Изменен загрузочный спиннер. Спасибо loading.io за это.
- При смене юзера/логауте БД не очищается.
- Стратегия миграции БД изменилась с `update` на `create-drop`.

### Исправлено
- Баг с иконкой в трее в случае смены пользователя.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ logging.file = vkmusic.log
spring.datasource.url=jdbc:sqlite:vkmusic.db
spring.datasource.driverClassName=org.sqlite.JDBC
spring.jpa.properties.hibernate.dialect=com.enigmabridge.hibernate.dialect.SQLiteDialect
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.hibernate.ddl-auto=update

# #############
spring.jmx.enabled=false

0 comments on commit 6a05312

Please sign in to comment.