What happened?
Description
When upgrading a Craft 5 project to Craft 6 alpha using the craft6-revamp tool, the migrations table is missing the track column required by Laravel's migration system. Running php artisan craft:up fails immediately because of this missing column.
Steps to reproduce
- Start with a clean, up-to-date Craft 5 project (latest 5.x release)
- Run
composer global require craftcms/craft6-revamp
- Run
composer global exec craft6-revamp from the project root
- Run
composer update -W
- Run
php artisan craft:setup:publish
- Run
php artisan key:generate
- Run
php artisan craft:up
Expected behavior
Migrations run successfully. The craft6-revamp tool or the upgrade process adds the track column to the migrations table before migrations are attempted.
Actual behavior
Migration fails immediately with:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'track' in 'where clause'
(SQL: select `migration` from `migrations` where `track` = craft order by `batch` asc, `migration` asc)
Craft CMS version
grep versions : * 6.0.0-alpha.8 (though alpha9 is out?)
PHP version
8.5
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
When upgrading a Craft 5 project to Craft 6 alpha using the
craft6-revamptool, themigrationstable is missing thetrackcolumn required by Laravel's migration system. Runningphp artisan craft:upfails immediately because of this missing column.Steps to reproduce
composer global require craftcms/craft6-revampcomposer global exec craft6-revampfrom the project rootcomposer update -Wphp artisan craft:setup:publishphp artisan key:generatephp artisan craft:upExpected behavior
Migrations run successfully. The
craft6-revamptool or the upgrade process adds thetrackcolumn to themigrationstable before migrations are attempted.Actual behavior
Migration fails immediately with:
Craft CMS version
grep versions : * 6.0.0-alpha.8 (though alpha9 is out?)
PHP version
8.5
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions