{"id":15908047,"url":"https://github.com/marcosschroh/yoyo-database-migrations","last_synced_at":"2025-03-21T21:31:59.153Z","repository":{"id":51406307,"uuid":"164344520","full_name":"marcosschroh/yoyo-database-migrations","owner":"marcosschroh","description":"Database schema migration tool written in Python","archived":false,"fork":false,"pushed_at":"2021-05-12T01:09:14.000Z","size":10260,"stargazers_count":30,"open_issues_count":5,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T05:34:39.653Z","etag":null,"topics":["database-schema","databases","python","schema-migrations"],"latest_commit_sha":null,"homepage":"https://marcosschroh.github.io/yoyo-database-migrations/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcosschroh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-06T20:53:07.000Z","updated_at":"2025-02-10T19:34:05.000Z","dependencies_parsed_at":"2022-09-12T02:51:45.990Z","dependency_job_id":null,"html_url":"https://github.com/marcosschroh/yoyo-database-migrations","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosschroh%2Fyoyo-database-migrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosschroh%2Fyoyo-database-migrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosschroh%2Fyoyo-database-migrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosschroh%2Fyoyo-database-migrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcosschroh","download_url":"https://codeload.github.com/marcosschroh/yoyo-database-migrations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244874404,"owners_count":20524577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-schema","databases","python","schema-migrations"],"created_at":"2024-10-06T14:09:07.523Z","updated_at":"2025-03-21T21:31:58.624Z","avatar_url":"https://github.com/marcosschroh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yoyo database migrations\n========================\n\n[![Build Status](https://travis-ci.org/marcosschroh/yoyo-database-migrations.svg?branch=master)](https://travis-ci.org/marcosschroh/yoyo-database-migrations)\n![License](https://img.shields.io/github/license/marcosschroh/yoyo-database-migrations.svg)\n[![codecov](https://codecov.io/gh/marcosschroh/yoyo-database-migrations/branch/master/graph/badge.svg)](https://codecov.io/gh/marcosschroh/yoyo-database-migrations)\n\nThis project has been clone from [ollyc/yoyo](https://bitbucket.org/ollyc/yoyo). Thanks Ollyc!!\n\n\nWhy this repository?\n\n* To improve project documentation\n* To fix bugs related to different python versions\n* I had different issues on Mac but not on Linux, so fix them\n* To add full support for Python 3.6/3.7 (annotations, async/io databases drivers)\n* To add new Features\n* To add full code coverage\n\nYoyo is a database schema migration tool. You write database migrations\nas Python scripts containing raw SQL statements or Python functions.\n\nInstallation:\n------------\n```\npip install yoyo-database-migrations\n```\n\n\nDocumentation:\n--------------\nhttps://marcosschroh.github.io/yoyo-database-migrations/\n\n\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 Python containing\nSQL statements to migrate your database schema to a new version.\n\nA simple migration script looks like this:\n\n```python\n# file: migrations/0001.create-foo.py\nfrom yoyo import step\nstep(\n    \"CREATE TABLE foo (id INT, bar VARCHAR(20), PRIMARY KEY (id))\",\n    \"DROP TABLE foo\",\n)\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 \n\nImprovements\n------------\n\n* Command `yoyo showmigrations` added\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcosschroh%2Fyoyo-database-migrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcosschroh%2Fyoyo-database-migrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcosschroh%2Fyoyo-database-migrations/lists"}