RE: social.jvns.ca/@b0rk/115969229

@b0rkJulia Evans One note on the auto-generated migrations -- it's a good idea to use the `sqlmigrate` management command to view the actual SQL that will be emitted. Sometimes the SQL is not what you expect, and can have performance issues or worse!

It's also good to check whether the migration is reversible. I can't remember how to do that, and haven't found docs in a quick search, but something to keep in mind.

(All of this is less of an issue in a low-stakes deployment where you can just back up and restore a sqlite file, of course.)

0

If you have a fediverse account, you can quote this note from your own instance. Search https://infosec.exchange/users/varx/statuses/115973423978754918 on your instance and quote it. (Note that quoting is not supported in Mastodon.)