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

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

Open
nuzulfikrie opened this issue Dec 1, 2019 · 0 comments
Open

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

nuzulfikrie opened this issue Dec 1, 2019 · 0 comments

Comments

@nuzulfikrie
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant