This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

domjag
domjag

I just updated my dev environment with the latest vesion of xampp (Mariadb 10.4). Everything seems ok except when I modify the database in the builder plugin. Even though I only change one field I get an error related to the timestamps - (i have to remove the timestamps from the migration code before saving). The timestamps are the standard created_at, updated_at, deleted_at)

Unknown column type "timestamp" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then you might have forgot to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mapping information.

Anyone else having issues with latest mariadb update?

developer28649
developer28649

hi, timestamp and other type of fields can't be changed (see laravel/migration). i solved by removing the lines where builder try to change timestamp fields.

domjag
domjag

Hi, I wasn't trying to modify or change a timestamp. I added a new string field to the db via the builder plugin. When I tried to save it tried to update my timestamp fields for some reason. This has to be a bug in the builder plugin. I understand the workaround is to remove the timestamp updates from the migration but I shouldn't have to do this, correct?

Last updated

alexandreantunes
alexandreantunes

Where you able to solve this issue? I seem to have the same problem, not sure if it's mariaDB fault or the Builder plugin

daftspunky
daftspunky

This is a code issue should be reported to the GitHub repo

https://github.com/rainlab/builder-plugin/issues

gokyo66
gokyo66

Got the same problem using MySql. Basically if I create a simple table with id, timestamp and softdelete works perfectly fine. As soon as I add a new field I got back that error

tomas.contos36976
dimti
dimti

tomas.contos36976 said:

This plugin solved the issue ... https://octobercms.com/plugin/cubecamp-doctrine

Thank you. Is awesome work

1-8 of 8

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.