secretflow / secretflow

A unified framework for privacy-preserving data analysis and machine learning
https://www.secretflow.org.cn/docs/secretflow/en/
Apache License 2.0
2.35k stars 394 forks source link

windows下运行secretpad报错 #1496

Open liusiqqq opened 1 month ago

liusiqqq commented 1 month ago

Issue Type

Bug

Source

binary

Secretflow Version

secretPad0.9

OS Platform and Distribution

windows

Python version

Bazel version

No response

GCC/Compiler version

No response

What happend and What you expected to happen.

Caused by: org.flywaydb.core.api.exception.FlywayValidateException: Validate failed: Migrations have failed validation
Migration checksum mismatch for migration version 1
-> Applied to database : -1918246874
-> Resolved locally    : -1117186726
Either revert the changes to the migration, or run repair to update the schema history.
Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE
    at org.flywaydb.core.Flyway.lambda$migrate$0(Flyway.java:146)
    at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:213)
    at org.flywaydb.core.Flyway.migrate(Flyway.java:140)
    at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802)
    ... 17 common frames omitted

Reproduction code to reproduce the issue.

flywaydb是自带的吗?ip和账号是什么?
zimu-yuxi commented 1 month ago

flyway是数据库版本管理工具,参考这里

github-actions[bot] commented 3 weeks ago

Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.