{"id":19316238,"url":"https://github.com/userfrosting/upgrade","last_synced_at":"2025-12-31T14:34:32.969Z","repository":{"id":57076111,"uuid":"46391347","full_name":"userfrosting/upgrade","owner":"userfrosting","description":"Upgrade your database to the latest version of UserFrosting from previous versions of UserFrosting, and other frameworks.","archived":false,"fork":false,"pushed_at":"2017-12-03T17:52:51.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T22:02:00.478Z","etag":null,"topics":["userfrosting","userfrosting-tool"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/userfrosting.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":"2015-11-18T03:01:33.000Z","updated_at":"2019-01-10T02:10:01.000Z","dependencies_parsed_at":"2022-08-24T14:55:48.831Z","dependency_job_id":null,"html_url":"https://github.com/userfrosting/upgrade","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/userfrosting/upgrade","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fupgrade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fupgrade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fupgrade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fupgrade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/userfrosting","download_url":"https://codeload.github.com/userfrosting/upgrade/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fupgrade/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265829169,"owners_count":23835090,"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":["userfrosting","userfrosting-tool"],"created_at":"2024-11-10T01:10:34.240Z","updated_at":"2025-12-31T14:34:32.929Z","avatar_url":"https://github.com/userfrosting.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Upgrade Sprinkle (UserFrosting 4.1)\n\nUpgrade your database to UserFrosting 4 from previous versions of UserFrosting, and other frameworks. \n\n## Usage\n\nThis Sprinkle sets up a fresh installation of UF4 with a pre-existing UF 3.1 database.  It will attempt to migrate your users, groups, event log, and custom permissions (`authorize_group`) to UF4 entities.\n\n### Step 1\n\nMAKE A COPY OF YOUR CURRENT DATABASE.  This tool does not drop any tables, but it is best to err on the cautious side.\n\n### Step 2\n\nClone the UF4 repo and run `composer install`, as per the documentation.  Manually copy `app/sprinkles.example.json` to `app/sprinkles.json`.\n\n### Step 3\n\nEdit UserFrosting `app/sprinkles.json` and add the following to the `require` list : `\"userfrosting/upgrade\": \"~4.1.0\"`. Also add `upgrade` to the `base` list. For example:\n\n```\n{\n    \"require\": {\n        \"userfrosting/upgrade\": \"~4.1.0\"\n    },\n    \"base\": [\n        \"core\",\n        \"account\",\n        \"admin\",\n        \"upgrade\"\n    ]\n}\n```\n\n### Step 4 - Update Composer\n\nRun `composer update` from the root project directory.\n\n### Step 5\n\nRun `php bakery upgrade` from the root project directory.  It will prompt you for the credentials for your database - use the credentials for the database you wish to upgrade.\n\n### Step 6\n\nBegin migrating your code over to UF 4.1.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserfrosting%2Fupgrade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuserfrosting%2Fupgrade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserfrosting%2Fupgrade/lists"}