{ "info": { "author": "Ferran Pegueroles Forcadell", "author_email": "ferran@pegueroles.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: End Users/Desktop", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Topic :: Database", "Topic :: Utilities" ], "description": ".. -*- restructuredtext -*-\n\n======================\nREADME for ffmigration\n======================\n\n``ffmigration`` stands for \"fast forward migration\" and is a simple database\nmigration program.\n\nIs a simple ans elegant way of keeping database migrations in order in \nvarious environemnts, keeping track of wich database migratison are \nexecuted and with none.\n\n``ffmigration`` is a forward only migration tool, it means that there isnt \nant automatic way to rollback and applied migration.\n\nHow it works\n============\n\n``ffmigration`` creates a table names ``migration_history`` on the \nselected database to keep track od the applied migrations. This table is\ncreated automatically on first run.\n\nOn every run, ``ffmigration`` looks to all the files with a .sql extension \nin the migration directory provided in the command line, checks if the \nmigration file has been applied to the database, and if ih has not been aplied\nit is apllied to the the database and saved to ``migration_history``.\n\nIt is recomended to name all the migration files prefixed with a number\nto keep the order. For example::\n\n $ ls /some/migrations/dir/\n 0001_create_some_table.sql\n 0002_add_some_data.sql\n 0003_create_index.sql\n 0004_other_useful_tweaks.sql\n\nLimitations\n===========\n\nThis is a beta software with some limitations:\n \n * By now it only works with MySQL.\n\n\nInstalling\n==========\n\nUse ``setup.py``::\n\n python setup.py build\n sudo python setup.py install\n\nor use ``pip``::\n\n pip install ffmigrate\n\nCommand line\n============\n\n::\n\n $ ./ffmigration --help\n Usage: ffmigration [options] database migrations_dir\n\n Apply database migrations from migrations_dir to selected database.\n migration_dir contains files with .sql extension, that are sorted\n and applied.\n\n The applied migrations are saved on a table named 'migration_history'\n in the selected database\n\n Options:\n --version show program's version number and exit\n -h, --help show this help message and exit\n -H HOST, --host=HOST Database server hostname\n -u USER, --user=USER database username\n -p ask for a database password\n --password=PASSWORD database password\n -P PORT, --port=PORT database connection port\n -q, --quiet don't print status messages to stdout\n -l LEVEL, --level=LEVEL\n logging level (debug,info,warning,error,critical)\n -n, --noop Do not run commands.", "description_content_type": null, "docs_url": null, "download_url": "https://bitbucket.org/ferranp/ffmigration/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.pegueroles.com/", "keywords": null, "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "ffmigration", "package_url": "https://pypi.org/project/ffmigration/", "platform": "linux,windows", "project_url": "https://pypi.org/project/ffmigration/", "project_urls": { "Download": "https://bitbucket.org/ferranp/ffmigration/downloads", "Homepage": "http://www.pegueroles.com/" }, "release_url": "https://pypi.org/project/ffmigration/0.5.1/", "requires_dist": null, "requires_python": null, "summary": "Simple Forward-only database migrations", "version": "0.5.1" }, "last_serial": 1519635, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5b6b9059d8449f04c5a7b4d3a03da4fd", "sha256": "904a132a24db74ff7d449c806120dd3e554753588ca2e5caea8ebe737dac2020" }, "downloads": -1, "filename": "ffmigration-0.1-py2.6.egg", "has_sig": false, "md5_digest": "5b6b9059d8449f04c5a7b4d3a03da4fd", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 6894, "upload_time": "2011-04-27T18:49:18", "url": "https://files.pythonhosted.org/packages/0c/98/9f73b77950725c97c96fe224018ecbc560329c4ff8c06638cd31adb26be1/ffmigration-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "247e29226fcab8a0c3bc04b81a6fc432", "sha256": "7d5002b42711304edc599c65084c2980764bb95f0af6bb579ea81cd130f78e6c" }, "downloads": -1, "filename": "ffmigration-0.1-py2.7.egg", "has_sig": false, "md5_digest": "247e29226fcab8a0c3bc04b81a6fc432", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 8584, "upload_time": "2011-04-27T18:49:12", "url": "https://files.pythonhosted.org/packages/7d/c3/a515be4d7dec915cc41b27368e8abb3a43cc9100bfcf98fa2f44a55b2c11/ffmigration-0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e13206289607b17fb85750c726300896", "sha256": "3b2dbff216f0dd80988177ad7ad79a27e4d1bbc38a261f98940a53aec4c7634f" }, "downloads": -1, "filename": "ffmigration-0.1.tar.gz", "has_sig": false, "md5_digest": "e13206289607b17fb85750c726300896", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4347, "upload_time": "2011-04-27T18:50:09", "url": "https://files.pythonhosted.org/packages/4b/6b/d33fd748a26ab21f3651a6e1fc5f1622b069477e65df131810f373c9065f/ffmigration-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "6b4de41f060fc778fe038e1e33761a90", "sha256": "519ffecbd101343fcbd6f264446c4aa33aa5130885a6b85ddbd98e5d0098469f" }, "downloads": -1, "filename": "ffmigration-0.2.tar.gz", "has_sig": false, "md5_digest": "6b4de41f060fc778fe038e1e33761a90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4906, "upload_time": "2011-05-31T22:06:33", "url": "https://files.pythonhosted.org/packages/b0/06/dfd8a8b776530c595689efe24af0619d66623622650054b43416e04e5c03/ffmigration-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "50703d50be594c3464a1fecd03b24722", "sha256": "89f864d181fbeb6c47bd625b4910b3494d33ff3ada1b165d6c95d5cf701c0d6c" }, "downloads": -1, "filename": "ffmigration-0.3.tar.gz", "has_sig": false, "md5_digest": "50703d50be594c3464a1fecd03b24722", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5325, "upload_time": "2011-07-30T19:31:28", "url": "https://files.pythonhosted.org/packages/1d/24/607180a43cca0967d0438975f9e92bf4b1af5142bc3ff080066c44783264/ffmigration-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "a8bb745b1caad681c4b9563c1a7d190b", "sha256": "5c01adc26c2b820714c20729d7feae5160330b21f6eaaa8036c7859f15fb96de" }, "downloads": -1, "filename": "ffmigration-0.4.tar.gz", "has_sig": false, "md5_digest": "a8bb745b1caad681c4b9563c1a7d190b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5362, "upload_time": "2011-11-06T18:29:10", "url": "https://files.pythonhosted.org/packages/50/1f/5758957f618148aa419ac7c5db8422490d7b892248468d25f95dad809a08/ffmigration-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7a2ccca90a8aaa2686f31dc7b9344e66", "sha256": "d3bb895ab978f543c388a00e2598c65bb06c9e7e4e587268cf4a02efc021e817" }, "downloads": -1, "filename": "ffmigration-0.5.tar.gz", "has_sig": false, "md5_digest": "7a2ccca90a8aaa2686f31dc7b9344e66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5617, "upload_time": "2015-04-24T14:56:09", "url": "https://files.pythonhosted.org/packages/93/a7/85eb6b658b2950a1f446da679f1ed4c1346f8dc41707339ff34d16a1564c/ffmigration-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "351c8b82a2bd1959ae4cf00395e1afaa", "sha256": "3ac4ea00059bed534b861703a387e2d5674e07cf49bb292a38c926b008a9002e" }, "downloads": -1, "filename": "ffmigration-0.5.1.tar.gz", "has_sig": false, "md5_digest": "351c8b82a2bd1959ae4cf00395e1afaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5672, "upload_time": "2015-04-24T15:08:29", "url": "https://files.pythonhosted.org/packages/ce/48/27f5c3ce3bc275c660e31410def5a1b51499ab74cc0fd8f209eeb1a79614/ffmigration-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "351c8b82a2bd1959ae4cf00395e1afaa", "sha256": "3ac4ea00059bed534b861703a387e2d5674e07cf49bb292a38c926b008a9002e" }, "downloads": -1, "filename": "ffmigration-0.5.1.tar.gz", "has_sig": false, "md5_digest": "351c8b82a2bd1959ae4cf00395e1afaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5672, "upload_time": "2015-04-24T15:08:29", "url": "https://files.pythonhosted.org/packages/ce/48/27f5c3ce3bc275c660e31410def5a1b51499ab74cc0fd8f209eeb1a79614/ffmigration-0.5.1.tar.gz" } ] }