Skip to content

Commit 6a05312

Browse files
committed
Update migration strategy
1 parent be8753f commit 6a05312

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1818
- Spring Boot обновлен до 1.5.8.RELEASE.
1919
- Изменен загрузочный спиннер. Спасибо loading.io за это.
2020
- При смене юзера/логауте БД не очищается.
21-
- Стратегия миграции БД изменилась с `update` на `create-drop`.
2221

2322
### Исправлено
2423
- Баг с иконкой в трее в случае смены пользователя.

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ logging.file = vkmusic.log
77
spring.datasource.url=jdbc:sqlite:vkmusic.db
88
spring.datasource.driverClassName=org.sqlite.JDBC
99
spring.jpa.properties.hibernate.dialect=com.enigmabridge.hibernate.dialect.SQLiteDialect
10-
spring.jpa.hibernate.ddl-auto=create-drop
10+
spring.jpa.hibernate.ddl-auto=update
1111

1212
# #############
1313
spring.jmx.enabled=false

0 commit comments

Comments
 (0)