Metadata-Version: 1.1
Name: django-better-migrations
Version: 0.0.4
Summary: Improves Django migration system.
Home-page: http://github.com/botify-labs/django-better-migrations
Author: Jean-Baptiste Barth
Author-email: jeanbaptiste.barth@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Description: Django Better Migrations
        ========================
        
        [![Build Status](https://travis-ci.org/botify-labs/django-better-migrations.svg?branch=master)](https://travis-ci.org/botify-labs/django-better-migrations)
        
        This project aims at providing improvements to Django's default migration system.
        The default migration system is over-engineered, sometimes dangerous, and not
        team work friendly.
        
        
        More informations in the documentation, see "docs/" folder.
        
        
        Example
        -------
        
        See below migration, generated automatically via `manage.py makemigrations`:
        ```python
        # -*- coding: utf-8 -*-
        # Generated by Django 1.9 on 2017-12-01 00:00
        from __future__ import unicode_literals
        
        from django.db import migrations, models
        
        
        # Generated SQL code (sqlite):
        #
        # --
        # -- Create model Person
        # --
        # CREATE TABLE "example_app_person" ("id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "name" varchar(100) NOT NULL);
        #
        
        # Check results:
        # CHECK OK: No ALTER TABLE ADD COLUMN with non-NULL constraint
        class Migration(migrations.Migration):
        
            initial = True
        
            dependencies = [
            ]
        
            operations = [
                migrations.CreateModel(
                    name='Person',
                    fields=[
                        ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                        ('name', models.CharField(max_length=100)),
                    ],
                ),
            ]
        ```
        
        
        License
        -------
        
        MIT, see `LICENSE` file.
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Topic :: Database
