Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo to avoid panic when execute yao restore #201

Merged
merged 2 commits into from
Jun 14, 2024
Merged

Conversation

yflau
Copy link

@yflau yflau commented Jun 13, 2024

  1. fix typo gou/model/migrate.go to avoid panic when execute the yao restore.
  2. add migrate option: do not insert values when migration, for in most cases I think, yao restore will insert the same records which contained in model dsl values, thus restore will fail.

@yflau yflau changed the title fix typoto avoid panic in when execute yao restore. fix typoto avoid panic when execute yao restore Jun 13, 2024
@yflau yflau changed the title fix typoto avoid panic when execute yao restore fix typoto to avoid panic when execute yao restore Jun 13, 2024
@yflau yflau changed the title fix typoto to avoid panic when execute yao restore fix typo to avoid panic when execute yao restore Jun 13, 2024
Copy link

Thank you for the PR! The test workflow ( GO:1.19.5 DB:MySQL8.0 Redis:4 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.20.0 DB:MySQL8.0 Redis:5 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.19.5 DB:SQLite3 Redis:5 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.19.5 DB:MySQL8.0 Redis:5 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.19.5 DB:MySQL8.0 Redis:6 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.20.0 DB:SQLite3 Redis:5 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.19.5 DB:SQLite3 Redis:4 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.20.0 DB:SQLite3 Redis:6 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.20.0 DB:MySQL8.0 Redis:6 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.19.5 DB:SQLite3 Redis:6 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.20.0 DB:SQLite3 Redis:4 ) is running, the results of the run will be commented later.

Copy link

Thank you for the PR! The test workflow ( GO:1.20.0 DB:MySQL8.0 Redis:4 ) is running, the results of the run will be commented later.

Copy link

✨DONE✨ GO:1.19.5 DB:SQLite3 Redis:4 passed.

Copy link

✨DONE✨ GO:1.19.5 DB:MySQL8.0 Redis:4 passed.

Copy link

✨DONE✨ GO:1.19.5 DB:MySQL8.0 Redis:5 passed.

Copy link

✨DONE✨ GO:1.19.5 DB:SQLite3 Redis:5 passed.

Copy link

✨DONE✨ GO:1.20.0 DB:MySQL8.0 Redis:5 passed.

Copy link

✨DONE✨ GO:1.19.5 DB:SQLite3 Redis:6 passed.

Copy link

✨DONE✨ GO:1.20.0 DB:SQLite3 Redis:4 passed.

Copy link

✨DONE✨ GO:1.20.0 DB:MySQL8.0 Redis:4 passed.

Copy link

✨DONE✨ GO:1.20.0 DB:SQLite3 Redis:6 passed.

Copy link

✨DONE✨ GO:1.20.0 DB:MySQL8.0 Redis:6 passed.

Copy link

✨DONE✨ GO:1.20.0 DB:SQLite3 Redis:5 passed.

Copy link

✨DONE✨ GO:1.19.5 DB:MySQL8.0 Redis:6 passed.

@trheyi trheyi merged commit 32398e3 into YaoApp:main Jun 14, 2024
1 check passed
@trheyi
Copy link
Contributor

trheyi commented Jun 14, 2024

thx @yflau

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants