mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-05 20:44:19 +01:00
Refactor entities and codebase for native property usage
- Replaced getters/setters with direct property access across entities and repositories. - Added and configured `martin-georgiev/postgresql-for-doctrine` for PostgreSQL enhancements. - Updated Doctrine configuration with types, mappings, and JSONB query functions. - Removed unused `EliminationService` and related YAML configurations.
This commit is contained in:
@@ -8,9 +8,22 @@ doctrine:
|
||||
|
||||
profiling_collect_backtrace: '%kernel.debug%'
|
||||
use_savepoints: true
|
||||
types:
|
||||
# JSON types
|
||||
jsonb: MartinGeorgiev\Doctrine\DBAL\Types\Jsonb
|
||||
'jsonb[]': MartinGeorgiev\Doctrine\DBAL\Types\JsonbArray
|
||||
tsrange: MartinGeorgiev\Doctrine\DBAL\Types\TsRange
|
||||
mapping_types:
|
||||
# JSON type mappings
|
||||
jsonb: jsonb
|
||||
'jsonb[]': 'jsonb[]'
|
||||
_jsonb: 'jsonb[]'
|
||||
tsrange: tsrange
|
||||
|
||||
|
||||
orm:
|
||||
auto_generate_proxy_classes: true
|
||||
enable_lazy_ghost_objects: true
|
||||
enable_native_lazy_objects: true
|
||||
report_fields_where_declared: true
|
||||
validate_xml_mapping: true
|
||||
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
framework:
|
||||
uid:
|
||||
default_uuid_version: 7
|
||||
time_based_uuid_version: 7
|
||||
Reference in New Issue
Block a user