Skip to content

[6.x]: #19165

Description

@oregoncreative

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

  1. Start with a clean, up-to-date Craft 5 project (latest 5.x release)
  2. Run composer global require craftcms/craft6-revamp
  3. Run composer global exec craft6-revamp from the project root
  4. Run composer update -W
  5. Run php artisan craft:setup:publish
  6. Run php artisan key:generate
  7. 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

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions