{"id":18771050,"url":"https://github.com/rareloop/hatchet-migrations","last_synced_at":"2025-12-12T03:30:13.939Z","repository":{"id":138435602,"uuid":"256241299","full_name":"Rareloop/hatchet-migrations","owner":"Rareloop","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-24T14:17:25.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T07:43:15.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rareloop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-16T14:37:07.000Z","updated_at":"2020-04-24T14:17:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b58d9eb-f49b-416b-8cb9-b9e97d37d6a5","html_url":"https://github.com/Rareloop/hatchet-migrations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Fhatchet-migrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Fhatchet-migrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Fhatchet-migrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rareloop%2Fhatchet-migrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rareloop","download_url":"https://codeload.github.com/Rareloop/hatchet-migrations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239678105,"owners_count":19679202,"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":[],"created_at":"2024-11-07T19:23:01.374Z","updated_at":"2025-12-12T03:30:13.898Z","avatar_url":"https://github.com/Rareloop.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hatchet Migrations\n\nProvides a wrapper around the [Phinx Database Migrations](https://phinx.org/) package that integrates with Hatchet \u0026 Lumberjack.\n\n## Installation\n\n`composer require rareloop/hatchet-migrations`\n\nOnce installed, register the Service Provider in config/app.php:\n\n```php\n'providers' =\u003e [\n    ...\n\n    Rareloop\\Hatchet\\Migrations\\MigrationsServiceProvider::class,\n\n    ...\n],\n```\n\nCopy the example `config/migrations.php` file to you theme directory _(optional)_.\n\nMake sure you create the needed folders for your migrations and seeds. If you don't change the default config then these will be:\n\n- `{theme}/database/migrations`\n- `{theme}/database/seeds`\n\n## Usage\n\nThis package makes the following commands are available to you:\n\n| Hatchet Command | Description | Related Phinx Documentation |\n| :--- | :--- | :--- |\n| `make:migration` | Create a new migration file | [phinx create](https://book.cakephp.org/phinx/0/en/migrations.html#creating-a-new-migration) |\n| `migrate`  |Run migration(s) | [phinx migrate](https://book.cakephp.org/phinx/0/en/commands.html#the-migrate-command) |\n| `migrate:rollback` | Rollback migration(s) | [phinx rollback](https://book.cakephp.org/phinx/0/en/commands.html#the-rollback-command) |\n| `migrate:status` | Output the current status on which migrations have been run | [phinx status](https://book.cakephp.org/phinx/0/en/commands.html#the-status-command) |\n| `make:seeder` | Create a Database Seeder | [phinx seed:create](https://book.cakephp.org/phinx/0/en/seeding.html) |\n| `db:seed` | Run seed(s) | [phinx seed:run](https://book.cakephp.org/phinx/0/en/commands.html#the-seed-run-command) |\n\nFor usage information on each command either consult the associated Phinx documentation or use the hatchet CLI:\n\n`php hatchet help {command}`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frareloop%2Fhatchet-migrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frareloop%2Fhatchet-migrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frareloop%2Fhatchet-migrations/lists"}