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 database migration for selfhosted instances #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

grug117
Copy link

@grug117 grug117 commented Feb 22, 2025

MySQL/MariaDB instances of the database created via context.Database.EnsureCreated() fail due to row/page size constraints intercept the entity creation and if database is MySQL, override datatype to longtext resolving the page size issue

also seed the selfhosted instance witha dummy self hosted product and assign it to the admin user, allowing first time login

reported here #39

MySQL/MariaDB instances of the database created via
`context.Database.EnsureCreated()` fail due to row/page size constraints
intercept the entity creation and if database is MySQL, override
datatype to `longtext` resolving the page size issue
Copy link
Member

@DavidLazarescu DavidLazarescu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for spending time to fix this! I very much appreciate it

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