{"id":24769095,"url":"https://github.com/eatfirst/flask-click-migrate","last_synced_at":"2026-05-15T21:10:33.470Z","repository":{"id":57430223,"uuid":"66082971","full_name":"eatfirst/Flask-Click-Migrate","owner":"eatfirst","description":"SQLAlchemy database migrations for Flask applications using Alembic with Click","archived":false,"fork":false,"pushed_at":"2017-01-16T09:08:01.000Z","size":16,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T06:47:43.422Z","etag":null,"topics":["alembic","click","flask","sqlalchemy"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eatfirst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-19T13:06:47.000Z","updated_at":"2024-03-30T23:18:03.000Z","dependencies_parsed_at":"2022-08-26T04:43:19.863Z","dependency_job_id":null,"html_url":"https://github.com/eatfirst/Flask-Click-Migrate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatfirst%2FFlask-Click-Migrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatfirst%2FFlask-Click-Migrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatfirst%2FFlask-Click-Migrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatfirst%2FFlask-Click-Migrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eatfirst","download_url":"https://codeload.github.com/eatfirst/Flask-Click-Migrate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245153894,"owners_count":20569408,"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":["alembic","click","flask","sqlalchemy"],"created_at":"2025-01-29T02:47:15.798Z","updated_at":"2026-05-15T21:10:33.437Z","avatar_url":"https://github.com/eatfirst.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Click Migrate\nA simple click \"addon\" to add an alembic wrapper (basically a port from Flask-Migrate to click).\n\n## Usage\n```\nUsage: manage.py db [OPTIONS] COMMAND [ARGS]...\n\n  Perform database migrations\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  branches   Show current branch points.\n  current    Display the current revision for each...\n  downgrade  Revert to a previous version.\n  heads      Show current available heads in the script...\n  history    List changeset scripts in chronological...\n  init       Generate a new migration.\n  merge      Merge two revisions together.\n  migrate    Create a new migration based on SQLAlchemy...\n  revision   Create a new revision file.\n  show       Show the revision denoted by the given...\n  stamp      'Stamp' the revision table with the given...\n  upgrade    Upgrade to a later version.\n```\n\n## Configuring\n```python\nimport click\nfrom flask_click_migrate import Migrate, MigrateGroup\n\nfrom my_app import app, db\n\nmigrate = Migrate(app, db)\nmigrate_command = MigrateGroup(migrate_instance=migrate)\n\n\n@click.group()\ndef your_click_group():\n    \"\"\"Click group.\"\"\"\n    pass\n\n\nyour_click_group.add_command(migrate_command)\n\nif __name__ == '__main__':\n    your_click_group()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Featfirst%2Fflask-click-migrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Featfirst%2Fflask-click-migrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Featfirst%2Fflask-click-migrate/lists"}