Welcome Guest, Not a member yet? Register   Sign In
Certain migration timestamp formats not working
#1
Bug 
(This post was last modified: 11-26-2023, 12:16 PM by Muzikant.)

Hi there.


On my GNU/Linux machine I have installed XAMPP 8.1.12 and a fresh Composer installation of CodeIgniter 4.2.11 (both latest to this moment). I am successfully connected to the database.

There is a timestamp format setting in app/Config/Migrations.php . The default setting works fine:
PHP Code:
public $timestampFormat 'Y-m-d-His_'

If I change the format in a way that "His" have characters between the letters, it will not find any migration:
PHP Code:
public $timestampFormat 'Y-m-d-H-i-s_'

Could anyone confirm this bug? I am pretty sure it is not a feature. Wink
Reply


Messages In This Thread
Certain migration timestamp formats not working - by Muzikant - 12-28-2022, 04:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB