[F] Fix diva migration sql

This commit is contained in:
Azalea 2024-04-20 14:20:09 +09:00
parent c854dd9a45
commit e001533f33
2 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,7 @@ spring.flyway.clean-disabled=false
spring.flyway.baseline-on-migrate=true
spring.flyway.locations=classpath:db/migration/{vendor}
spring.flyway.out-of-order=true
spring.flyway.validate-on-migrate=false
spring.datasource.driver-class-name=org.sqlite.JDBC
spring.datasource.url=jdbc:sqlite:data/db.sqlite

View File

@ -1,4 +1,4 @@
ALTER TABLE main.diva_player_profile MODIFY COLUMN pd_id BIGINT NOT NULL;
ALTER TABLE main.diva_player_profile MODIFY COLUMN rival_pd_id BIGINT NOT NULL;
ALTER TABLE main.diva_player_screen_shot MODIFY COLUMN pd_id BIGINT NOT NULL;
ALTER TABLE main.diva_player_screen_shot MODIFY COLUMN pv_id BIGINT NOT NULL;
ALTER TABLE diva_player_profile MODIFY COLUMN pd_id BIGINT NOT NULL;
ALTER TABLE diva_player_profile MODIFY COLUMN rival_pd_id BIGINT NOT NULL;
ALTER TABLE diva_player_screen_shot MODIFY COLUMN pd_id BIGINT NOT NULL;
ALTER TABLE diva_player_screen_shot MODIFY COLUMN pv_id BIGINT NOT NULL;