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

migrations do not work after cloning from scratch #256

Open
bhemmer opened this issue Nov 13, 2022 · 1 comment
Open

migrations do not work after cloning from scratch #256

bhemmer opened this issue Nov 13, 2022 · 1 comment

Comments

@bhemmer
Copy link
Member

bhemmer commented Nov 13, 2022

when cloning the repository and running makemigrations, django need input for a lot of default values

@bhemmer
Copy link
Member Author

bhemmer commented Nov 13, 2022

#02ae996 on branch migrations does the following:

When cloning from scratch, running makemigrations asked me to specify a lot of defaults. With the new migrations this does not happen.
With the updated migrations, running migrate from scratch and afterwards copying the previous development DB works. This would be helpful for new contributors.

I am not sure how this will impact production though. @spuetz could you please review that?
I have not much experience with migrations: Is doing this a bad idea?
Should we do a PR for this?

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

No branches or pull requests

1 participant