Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Followed the manual, got stuck when migrating the tables. #6

@nuzulfikrie

Description

@nuzulfikrie

Hi All,

I followed the instructions in the docs.

When I entered migrations command into the terminal.
bin\cake migrations migrate

I encountered errors.

Environments : Apache 2.4 on XAMPP , PHP 7.3.9 , how to rectify this issue?

using migration path E:\xampp\htdocs\cakephp-realworld-example-app\config\Migrations using seed path E:\xampp\htdocs\cakephp-realworld-example-app\config\Seeds Exception: There was a problem creating the schema table: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'end_time' in [E:\xampp\htdocs\cakephp-realworld-example-app\vendor\robmorgan\phinx\src\Phinx\Db\Adapter\PdoAdapter.php, line 528] 2019-11-30 19:55:41 Error: [InvalidArgumentException] There was a problem creating the schema table: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'end_time' in E:\xampp\htdocs\cakephp-realworld-example-app\vendor\robmorgan\phinx\src\Phinx\Db\Adapter\PdoAdapter.php on line 528

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions