From 1e87933810b0e0b69baab4a893e462566340a1f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 11 Dec 2019 05:26:49 +0100 Subject: [PATCH 1/1] Remove begin and length field Add title field Add repository --- Resources/config/doctrine/Slot.orm.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Resources/config/doctrine/Slot.orm.yml b/Resources/config/doctrine/Slot.orm.yml index cd02ac3..4e70c7a 100644 --- a/Resources/config/doctrine/Slot.orm.yml +++ b/Resources/config/doctrine/Slot.orm.yml @@ -1,6 +1,6 @@ Rapsys\AirBundle\Entity\Slot: type: entity - #repositoryClass: Rapsys\AirBundle\Repository\SlotRepository + repositoryClass: Rapsys\AirBundle\Repository\SlotRepository table: slots id: id: @@ -10,10 +10,9 @@ Rapsys\AirBundle\Entity\Slot: options: unsigned: true fields: - begin: - type: time - length: - type: time + title: + type: string + length: 16 created: type: datetime updated: -- 2.41.1