Welcome Guest, Not a member yet? Register   Sign In
Certain migration timestamp formats not working
#6

(This post was last modified: 02-02-2023, 08:51 AM by Muzikant.)

I do not want to create new topic just for this. Used CodeIgniter 4.3.1 and PHP 8.2.0 through XAMPP.

I ran following commands:
Code:
composer create-project codeigniter4/appstarter test
cd test
php spark make:migration Test
php spark migrate:status

The last command output:
Code:
CodeIgniter v4.3.1 Command Line Tool - Server Time: 2023-02-02 15:39:50 UTC+00:00
[CodeIgniter\Database\Exceptions\DatabaseException]
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
at SYSTEMPATH/Database/BaseConnection.php:645

The problem is, that the database is not connected. An output does not tell anything about it.
Reply


Messages In This Thread
RE: Certain migration timestamp formats not working - by Muzikant - 02-02-2023, 08:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB