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

Use raw SQL in initSchema #858

Merged
merged 4 commits into from Jan 8, 2024
Merged

Use raw SQL in initSchema #858

merged 4 commits into from Jan 8, 2024

Conversation

ChrisSchinnerl
Copy link
Member

Since we had quite a few surprises in the past when it comes to Gorm and the way it automagically migrates, this PR performs the first step to moving towards raw SQL migrations by making initSchema use raw SQL instead of AutoMigrate.

@ChrisSchinnerl ChrisSchinnerl self-assigned this Dec 22, 2023
stores/sql.go Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl merged commit 2220628 into dev Jan 8, 2024
6 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the chris/sql-schemas branch January 8, 2024 10:51
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.

None yet

2 participants