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

oskar.villani40843
oskar.villani40843

Hi there,

I have a scenario like this:
Step 1: creating and saving a database with Builder plugin AND using timestamps & soft deleting support
Step 2: Changing something within this database
Step 3: Trying to save these changes.

This leads to this error message:

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.

Changes can't be saved (except the table name as I noticed)

Any ideas where's the glitch and how to solve? Everything else is working fine.
System Build is 468, Builder version is 1.0.26

Thanks in advance!

Last updated

oskar.villani40843
oskar.villani40843

This plugin is a workaround:
https://octobercms.com/plugin/cubecamp-doctrine
Hope an update will fix the problem without necessity to use a plugin :)

Regards

1-2 of 2

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