python-discord / site

pythondiscord.com - A Django and Bulma web application.
https://pythondiscord.com
MIT License
638 stars 127 forks source link

Set elidable on RunPython operations in migrations #1280

Closed jchristgit closed 3 months ago

jchristgit commented 3 months ago

Any RunPython operation that only migrated existing data (that is, did not create data) can be safely elided by Django when we run squashmigrations.

netlify[bot] commented 3 months ago

Deploy Preview for pydis-static ready!

Name Link
Latest commit a70ad816199a3e3a59d7db8e060e24c4c8e9ff88
Latest deploy log https://app.netlify.com/sites/pydis-static/deploys/660c5225c206d900087936be
Deploy Preview https://deploy-preview-1280--pydis-static.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

coveralls commented 3 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling a70ad816199a3e3a59d7db8e060e24c4c8e9ff88 on set-elidable-on-run-python-operations-in-migrations into 6b128e1ef94ef8461a305c09d385b9e82433f903 on main.