yoyo-migrations-9.0.0


توضیحات

Database migrations with SQL
ویژگی مقدار
سیستم عامل OS Independent
نام فایل yoyo-migrations-9.0.0
نام yoyo-migrations
نسخه کتابخانه 9.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Oliver Cope
ایمیل نویسنده oliver@redgecko.org
آدرس صفحه اصلی https://ollycope.com/software/yoyo/latest/
آدرس اینترنتی https://pypi.org/project/yoyo-migrations/
مجوز Apache
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/>`_


نیازمندی

مقدار نام
- sqlparse
- tabulate
- importlib-metadata>=3.6.0
xtr PyMySQL;
xtr psycopg2;
xtr pyodbc;


نحوه نصب


نصب پکیج whl yoyo-migrations-9.0.0:

    pip install yoyo-migrations-9.0.0.whl


نصب پکیج tar.gz yoyo-migrations-9.0.0:

    pip install yoyo-migrations-9.0.0.tar.gz