Skip to main content

A Django package to safely generate and apply migrations from historical commits.

Project description

Safe Migrations

A Django package to safely generate and apply migrations from historical commits.

Installation

Install the package via pip:

pip install safe-migrations

add safe_migrations to INSTALLED_APPS in settings.py of your django project.

Usage

python manage.py safe_migrations --hash GIT_COMMIT_HASH --git GIT_DIRECTORY

Features

Automatically identifies model changes across commits. Generates and applies all missing migrations safely.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

safe_migrations-0.2.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

safe_migrations-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file safe_migrations-0.2.0.tar.gz.

File metadata

  • Download URL: safe_migrations-0.2.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.0rc1

File hashes

Hashes for safe_migrations-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9e6d93a62ea6c996d7ad58443f03534cdec8400f69473509dd9cadeb98b716db
MD5 4c0d222635cccdb5a05b05721c90e470
BLAKE2b-256 b488b0826eee2d85ad87faef85904d233738ec578f62c927febc57f4d27f4ae0

See more details on using hashes here.

File details

Details for the file safe_migrations-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: safe_migrations-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.0rc1

File hashes

Hashes for safe_migrations-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 451a8bea8de595dbbdbf9e6b451cdc162265c87cae9f88f9b3747ac5054afc0a
MD5 f95eacf70f803c441187073e150ebf1f
BLAKE2b-256 58e7811f010a8bd779ee6ac8ebb423050633a4106bda71f8b8601319ca2e8f62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page