aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/DB/Types.php
Commit message (Collapse)AuthorAgeFilesLines
* feat(AppFramework): Add full support for date / time / datetime columnsFerdinand Thiessen2024-10-171-0/+77
| | | | | | | | | | | | | | | | This adds support for all Doctrine supported types, for the column types only the immutable variants needed to be added. But especially those types are the important ones, as our **Entity** class works by detecting changes through setters. Meaning if it is mutable, changes like `$entity->date->modfiy()` can not be detected, so the immutable types make more sense here. Similar the parameter types needed to be added. `Enity` and `QBMapper` needed to be adjusted so they support (auto map) those types, required when insert or update an entity. Also added more tests, especially to make sure the mapper really serializes the values correctly. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Add a metadata service to store file metadataCarl Schwan2022-04-131-0/+6
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add our own constants for db column typesChristoph Wurst2021-01-121-0/+113
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>