Skip to content

feat(dal): 重构数据迁移和初始化 - #110

Merged
ch3nnn merged 2 commits into
masterfrom
feat
Jan 22, 2025
Merged

ch3nnn merged 2 commits into
masterfrom
feat

Conversation

@ch3nnn

@ch3nnn ch3nnn commented Jan 22, 2025

Copy link
Copy Markdown
Owner

No description provided.

- Drop and recreate tables instead of auto-migrate
- Use FirstOrCreate to initialize default data
- Extract default values to constants
- Simplify and optimize the migration process
- Add error handling for incorrect old password
- Implement password update functionality
- Remove unnecessary comment in repository initialization
@ch3nnn
ch3nnn merged commit b3e2aef into master Jan 22, 2025
@ch3nnn
ch3nnn deleted the feat branch January 22, 2025 06:03
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.

1 participant