Metadata-Version: 1.1
Name: django-mymigrate
Version: 0.1.1
Summary: django-mymigrate is a wrapper on south that allows to quickly migrate all project apps with one command.
Home-page: https://github.com/hellpain/django-mymigrate
Author: hellpain
Author-email: urchenko88@gmail.com
License: BSD License
Description: =====
        django-mymigrate
        =====
        
        django-mymigrate is a wrapper on south that allows to quickly migrate all project apps with one command.
        
        - version 0.1.1
        
        - https://github.com/hellpain/django-mymigrate
        
        
        Commands
        -----------
        
        - ./manage.py mymigrate -i
        
        Creates initial migrations for all apps in project directory.
        It is equivalent to run "./manage.py schemamigration app_name --initial" through all apps in project directory.
        
        - ./manage.py mymigrate -a
        
        Create auto migrations for all apps in project directory.
        It is equivalent to run "./manage.py schemamigration app_name --auto" through all apps in project directory.
        
        - ./manage.py mymigrate -d
        
        Deletes all migrations on disk and database.
        
        Typical use
        -----------
        
        1) ./manage.py syncdb --all
        
        Create all tables
        
        2) ./manage.py mymigrate -i
        
        Creates initial migrations for all apps in project directory.
        
        3) ./manage.py migrate --fake
        
        Apply fake migrations.
        
        4) Change something in models...
        
        5) ./manage.py mymigrate -a
        
        Create auto migrations for all apps in project directory.
        
        6) ./manage.py migrate
        
        Apply migrations.
        
        7) ./manage.py mymigrate -d
        
        (optional) Delete all migrations on disk and database.
        
        Notes:
        -----------
        
        When you created initial migrations using "./manage.py mymigrate -i" and then created new app, you should manually run
        "./manage.py schemamigration new_app_name --initial" & "./manage.py migrate new_app_name" to create and apply initial migrations.
        Only after that you can use "./manage.py mymigrate -a" in future development.
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
