Skip to content

Phalcon 3.0.0 Error migrate #723

@xerron

Description

@xerron

I execute:

phalcon migration --action=generate --version=2

and show error message:

PHP Fatal error:  Uncaught Error: Class 'Phalcon\Version\IncrementalItem' not found in /home/xerron/Repo/php/phalcon-devtools/scripts/Phalcon/Version/ItemCollection.php:76
Stack trace:
#0 /home/xerron/Repo/php/phalcon-devtools/scripts/Phalcon/Migrations.php(95): Phalcon\Version\ItemCollection::createItem('2')
#1 /home/xerron/Repo/php/phalcon-devtools/scripts/Phalcon/Commands/Builtin/Migration.php(129): Phalcon\Migrations::generate(Array)
#2 /home/xerron/Repo/php/phalcon-devtools/scripts/Phalcon/Script.php(125): Phalcon\Commands\Builtin\Migration->run(Array)
#3 /home/xerron/Repo/php/phalcon-devtools/scripts/Phalcon/Script.php(150): Phalcon\Script->dispatch(Object(Phalcon\Commands\Builtin\Migration))
#4 /home/xerron/Repo/php/phalcon-devtools/phalcon.php(88): Phalcon\Script->run()
#5 {main}
  thrown in /home/xerron/Repo/php/phalcon-devtools/scripts/Phalcon/Version/ItemCollection.php on line 76

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions