klove 🐍🦀 on Nostr: Hey #django friends! I'm almost done with a small utility and I wanted to see what ...
Hey #django friends! I'm almost done with a small utility and I wanted to see what y'all think of it before I release it.
https://github.com/kennethlove/django-migrator is the repository and currently the only way to install it.
It adds three management commands:
- `reset_database` which drops all tables and runs migrations
- `redo_migration` which reverts and applies the last migration (this takes an optional app name)
- `revert_migration` which reverts 1+ migrations, also optionally for an app
I think they're handy tools, especially early in development.
Thanks for reading and looking!
Published at
2024-09-05 15:33:15Event JSON
{
"id": "6fc26fb2b44bdd2de2cbe4b8cc033a3473a1d7ec15674109542f9a704d977fc2",
"pubkey": "df70a520aa494c83485c911e206d0b00240d1994ddfaba4043a31d18f4a0ad57",
"created_at": 1725550395,
"kind": 1,
"tags": [
[
"proxy",
"https://tech.lgbt/@klove/113085670698486831",
"web"
],
[
"t",
"django"
],
[
"proxy",
"https://tech.lgbt/users/klove/statuses/113085670698486831",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://tech.lgbt/users/klove/statuses/113085670698486831",
"pink.momostr"
],
[
"-"
]
],
"content": "Hey #django friends! I'm almost done with a small utility and I wanted to see what y'all think of it before I release it. https://github.com/kennethlove/django-migrator is the repository and currently the only way to install it.\n\nIt adds three management commands:\n- `reset_database` which drops all tables and runs migrations\n- `redo_migration` which reverts and applies the last migration (this takes an optional app name)\n- `revert_migration` which reverts 1+ migrations, also optionally for an app\n\nI think they're handy tools, especially early in development.\n\nThanks for reading and looking!",
"sig": "c6504db7d5cec6a3ea2d1dbbfac4fbe121c6b3f460cee85461b2aba14afd877ed0250f5c55530d73161ec5f5b8da6daa270657198268b4b4547c98eddd3c0ef2"
}