Closed toolness closed 8 years ago
This migration feels weirdly over-engineered for such a seemingly simple change, but I wanted some experience writing testable migrations so that future, more complex migrations are easier to deal with. Hope that's ok!
very cool - i had seen a django migration test until now!
This fixes #37.
I used a blog post on Writing Unit Tests for Django Migrations to test the migration.
Note that this also renames
billable
tois_billable
, partly because this is in keeping with the convention of naming booleans (I thought this was part of PEP 8 but I guess it's not). We can add another migration that actually renames it back tobillable
if we want, though.