{ "info": { "author": "Fred Lin", "author_email": "gasolin+tg@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: TurboGears", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "tgmigrate is an turbogears command extension which provide sqlalchemy migrate support.\n \n http://erosson.com/migrate/\n \n The early version of tgmigrate gives turbogears developers a quick evaluation if sqlalchemy migrate is helpful for us.\n \n \n Install\n ----------------\n easy_install tgmigrate\n \n \n Usage\n ----------------\n \n After install, tgmigrate plug an \"migrate\" command into tg-admin console utility.\n \n The basic syntax is ::\n \n tg-admin migrate [command]\n \n tgmigrate takes care the dburi and repository name for you.\n \n The reference procedure is:\n \n 1. quickstart project as usual::\n \n $ tg-admin quickstart -i -s demo\n \n 2. setup sqlalchemy dburi in demo/dev.cfg\n \n 3. create initial database\n \n $ tg-admin sql create\n \n 4. create repository \"migration\"\n \n $ tg-admin migrate create\n \n note the default repository folder named \"migration\" is created in your project folder.\n \n 5. move your database to version control\n \n $ tg-admin migrate version_control\n \n or briefly::\n \n $ tg-admin migrate vc\n \n 6. Now you could watch the current version in both database and repository\n \n show repository version::\n \n $ tg-admin migrate v\n (tg-admin migrate version)\n \n show database version::\n \n $ tg-admin migrate dbv\n (tg-admin migrate db_version)\n \n then follow the migration doc http://erosson.com/migrate/docs/versioning.html to do the further stuff.\n \n Please post your comments or suggestions on TurboGears google group http://groups.google.com/group/turbogears\n \n \n reference\n --------------\n You could use::\n \n $ tg-admin migrate help\n \n to get all available commands and help\n \n The available commands are\n \n $ tg-admin migrate [command]\n \n command = [\n 'help',\n 'create',\n 'script',\n 'commit',\n 'version',\n 'source',\n 'version_control',\n 'db_version',\n 'upgrade',\n 'downgrade',\n 'drop_version_control',\n 'manage',\n 'test']", "description_content_type": null, "docs_url": null, "download_url": "http://www.python.org/pypi/tgmigrate/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "docs.turbogears.org", "keywords": "turbogears.command", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "tgmigrate", "package_url": "https://pypi.org/project/tgmigrate/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tgmigrate/", "project_urls": { "Download": "http://www.python.org/pypi/tgmigrate/", "Homepage": "docs.turbogears.org" }, "release_url": "https://pypi.org/project/tgmigrate/0.2/", "requires_dist": null, "requires_python": null, "summary": "sqlalchemy migrate command", "version": "0.2" }, "last_serial": 800536, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3bd8212e5a29c01b9e9251f14bd53b08", "sha256": "8137199dc897a0d034e875ab8df2935fae81b4db4d90bee0946f126f9a896471" }, "downloads": -1, "filename": "tgmigrate-0.1-py2.4.egg", "has_sig": false, "md5_digest": "3bd8212e5a29c01b9e9251f14bd53b08", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 21592, "upload_time": "2006-11-28T03:47:03", "url": "https://files.pythonhosted.org/packages/99/19/589550db595ac981bb6e07bce9ba7c6e4e1c26d5041818b149e386219ca6/tgmigrate-0.1-py2.4.egg" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b8325b1a3e26d67410404cd7ac93d36c", "sha256": "7452f4cf9251edabf47e0f9b38caa7f4207d857485e4cfacf146525eb3c4fd9d" }, "downloads": -1, "filename": "tgmigrate-0.2-py2.4.egg", "has_sig": false, "md5_digest": "b8325b1a3e26d67410404cd7ac93d36c", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 6424, "upload_time": "2006-12-11T02:17:24", "url": "https://files.pythonhosted.org/packages/59/5e/0328e5c176d6f31af1220c896c7cec0655382882549ba7c9d862961493fe/tgmigrate-0.2-py2.4.egg" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b8325b1a3e26d67410404cd7ac93d36c", "sha256": "7452f4cf9251edabf47e0f9b38caa7f4207d857485e4cfacf146525eb3c4fd9d" }, "downloads": -1, "filename": "tgmigrate-0.2-py2.4.egg", "has_sig": false, "md5_digest": "b8325b1a3e26d67410404cd7ac93d36c", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 6424, "upload_time": "2006-12-11T02:17:24", "url": "https://files.pythonhosted.org/packages/59/5e/0328e5c176d6f31af1220c896c7cec0655382882549ba7c9d862961493fe/tgmigrate-0.2-py2.4.egg" } ] }