rainlab/builder-plugin

Unknown column type "timestamp" requested

MattMcManis opened this issue · 6 comments

Relating to my previous issue #327

Unchecking sort_order nullable and setting default to 0 or blank allows for save.

But when trying to add, change, or update any other tables through the Builder Plugin, I get an error about Timestamps.

Timestamps

Database

Hi @MattMcManis

I have released some changes as part of #329 in order to fix this issue. Would I be able to ask you to test these out on your development instance of October and let me know if it resolves the issue for you?

You may need to check out the plugin via Composer in order to test this out.

@bennothommo

What is the best way to update with this patch?

Should I copy over the new files manually?

Has this been tested and/or fixed? Having the same issue with MySQL.

Also getting the following error with the timestamps
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.

Fixed in v1.1.1. Feel free to contact us if there are any further issues.

Thanks

Thankyou for this update @samgeorges. it was much needed