Skip to content

Recreate migration directory from scratch using render_as_batch=True#71

Open
annaproxy wants to merge 6 commits intonew_db_modelfrom
new_db_model_sqlite
Open

Recreate migration directory from scratch using render_as_batch=True#71
annaproxy wants to merge 6 commits intonew_db_modelfrom
new_db_model_sqlite

Conversation

@annaproxy
Copy link
Copy Markdown
Collaborator

Recreate migration directory from scratch using render_as_batch=True.

All migrations are squeezed into one single migration. Probably shouldn't make a difference to flask db upgrade this if your current backend already worked.

(Oh, I also played with the ORM join thing to print the model name on the users/ page with a model type per saved word.)

@Sasafrass
Copy link
Copy Markdown
Owner

Did this end up fixing the thing? I recall that it ultimately didn't work

@annaproxy
Copy link
Copy Markdown
Collaborator Author

It yeets the old .db files which did the trick for me, I don't know if there are disadvantages when using postgres if you set render_as_batch to True all the time.

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