Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5028

Upgrade process fails when trying to migrate database

$
0
0

Hi all,

I did an update of Dreamfactory following

http://wiki.dreamfactory.com/DreamFactory/Upgrades#Perform_a_Backup

When I execute the step

php artisan migrate --seed

I get the following errors:

[Illuminate\Database\QueryException]
SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: ‘0000-00-00 00:00:00’ for column ‘last_modified_date’ at row 1 (SQL: alter table service add config text null)

and

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: ‘0000-00-00 00:00:00’ for column ‘last_modified_date’ at row 1

and

[PDOException]
SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: ‘0000-00-00 00:00:00’ for column ‘last_modified_date’ at row 1

I’m a bit helpless about what to do next. Does anybody know advice?

Addendum:
The service table contains normal date values like ‘2017-09-01 13:40:00’


Viewing all articles
Browse latest Browse all 5028

Trending Articles