yoyo-migrations


Nameyoyo-migrations JSON
Version 8.2.0 PyPI version JSON
download
home_pagehttps://ollycope.com/software/yoyo/latest/
SummaryDatabase migrations with SQL
upload_time2022-12-14 14:58:41
maintainer
docs_urlNone
authorOliver Cope
requires_python
licenseApache
keywords migrations migrate database alembic south
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Yoyo database migrations
========================

Yoyo-migrations is a database schema migration tool.
Database migrations can be written as SQL files or Python scripts.

What does yoyo-migrations do?
-----------------------------

As your database application evolves, changes to the database schema may be
required. Yoyo lets you write migration scripts in raw SQL or Python containing
SQL statements to migrate your database schema to a new version.

A simple migration script looks like this:

.. code::python

    # file: migrations/0001.create-foo.py
    from yoyo import step
    step(
        "CREATE TABLE foo (id INT, bar VARCHAR(20), PRIMARY KEY (id))",
        "DROP TABLE foo",
    )

Yoyo manages these database migration scripts,
gives you command line tools to apply and rollback migrations,
and manages dependencies between migrations.

Database support
----------------

PostgreSQL, MySQL and SQLite databases are supported.
ODBC and Oracle database backends are available (but unsupported).

Documentation and code
----------------------

`Yoyo migrations documentation <https://ollycope.com/software/yoyo/>`_
\| `Repository and issue tracker <https://sr.ht/~olly/yoyo/>`_

            

Raw data

            {
    "_id": null,
    "home_page": "https://ollycope.com/software/yoyo/latest/",
    "name": "yoyo-migrations",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "migrations migrate database alembic south",
    "author": "Oliver Cope",
    "author_email": "oliver@redgecko.org",
    "download_url": "https://files.pythonhosted.org/packages/59/d1/ce97f150b77d914e215db3409cbd91481dd75269d6a1f6f5e6ff603796f2/yoyo-migrations-8.2.0.tar.gz",
    "platform": null,
    "description": "Yoyo database migrations\n========================\n\nYoyo-migrations is a database schema migration tool.\nDatabase migrations can be written as SQL files or Python scripts.\n\nWhat does yoyo-migrations do?\n-----------------------------\n\nAs your database application evolves, changes to the database schema may be\nrequired. Yoyo lets you write migration scripts in raw SQL or Python containing\nSQL statements to migrate your database schema to a new version.\n\nA simple migration script looks like this:\n\n.. code::python\n\n    # file: migrations/0001.create-foo.py\n    from yoyo import step\n    step(\n        \"CREATE TABLE foo (id INT, bar VARCHAR(20), PRIMARY KEY (id))\",\n        \"DROP TABLE foo\",\n    )\n\nYoyo manages these database migration scripts,\ngives you command line tools to apply and rollback migrations,\nand manages dependencies between migrations.\n\nDatabase support\n----------------\n\nPostgreSQL, MySQL and SQLite databases are supported.\nODBC and Oracle database backends are available (but unsupported).\n\nDocumentation and code\n----------------------\n\n`Yoyo migrations documentation <https://ollycope.com/software/yoyo/>`_\n\\| `Repository and issue tracker <https://sr.ht/~olly/yoyo/>`_\n",
    "bugtrack_url": null,
    "license": "Apache",
    "summary": "Database migrations with SQL",
    "version": "8.2.0",
    "split_keywords": [
        "migrations",
        "migrate",
        "database",
        "alembic",
        "south"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "52fc83a1b54ef14701721c67832f8f91",
                "sha256": "27dabe7432859288b0bd771093f593e3dd2ff6dd4e3b8438992a07c9a7154660"
            },
            "downloads": -1,
            "filename": "yoyo_migrations-8.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "52fc83a1b54ef14701721c67832f8f91",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 48225,
            "upload_time": "2022-12-14T14:58:39",
            "upload_time_iso_8601": "2022-12-14T14:58:39.565256Z",
            "url": "https://files.pythonhosted.org/packages/91/3e/3ebea9cdaf8e40be950ab2295b2b4f4768374285e62953928e86994b12dd/yoyo_migrations-8.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "0b99c4925b14c40fcd5fe4f7c0092b0d",
                "sha256": "820606a03e262cf1cd4f59e256c28fa446425224d5b82a3d1275fd78178523e4"
            },
            "downloads": -1,
            "filename": "yoyo-migrations-8.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0b99c4925b14c40fcd5fe4f7c0092b0d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 48488,
            "upload_time": "2022-12-14T14:58:41",
            "upload_time_iso_8601": "2022-12-14T14:58:41.391518Z",
            "url": "https://files.pythonhosted.org/packages/59/d1/ce97f150b77d914e215db3409cbd91481dd75269d6a1f6f5e6ff603796f2/yoyo-migrations-8.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-14 14:58:41",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "yoyo-migrations"
}
        
Elapsed time: 0.01867s