From a92a182dd27d0a66e6b2c494841dbc46005c8d22 Mon Sep 17 00:00:00 2001 From: Juliana <juliana@le-filament.com> Date: Wed, 15 Mar 2023 14:36:07 +0100 Subject: [PATCH] [UPD]Delete old field content --- services/operation_services.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/operation_services.py b/services/operation_services.py index beadef4..6d7b162 100644 --- a/services/operation_services.py +++ b/services/operation_services.py @@ -71,7 +71,6 @@ class OperationsService(Component): "id": n.id, "name": n.name, "date_actu": n.date_actu if n.date_actu else None, - "content": n.content, "content_html": n.content_html, } ) @@ -161,7 +160,6 @@ class OperationsService(Component): "id": n.id, "name": n.name, "date_actu": n.date_actu, - "content": n.content, "content_html": n.content_html, } ) @@ -670,7 +668,6 @@ class OperationsService(Component): "id": {"type": "integer"}, "name": {"type": "string"}, "date_actu": {"type": "date"}, - "content": {"type": "string", "nullable": True}, "content_html": {"type": "string", "nullable": True}, }, }, @@ -718,7 +715,6 @@ class OperationsService(Component): "id": {"type": "integer"}, "name": {"type": "string"}, "date_actu": {"type": "date", "nullable": True}, - "content": {"type": "string", "nullable": True}, "content_html": {"type": "string", "nullable": True}, }, }, -- GitLab