From ee870b1ba07b745bb821c7ebf290eca3e9c8c5dc Mon Sep 17 00:00:00 2001 From: Marco Villeneuve Date: Thu, 25 Jul 2024 13:19:18 -0700 Subject: [PATCH] Alter table issue. --- .../V1.0.5__STUDENT_PROFILE_REQUEST_SAGA_API.sql | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/api/src/main/resources/db/migration/V1.0.5__STUDENT_PROFILE_REQUEST_SAGA_API.sql b/api/src/main/resources/db/migration/V1.0.5__STUDENT_PROFILE_REQUEST_SAGA_API.sql index c08a42e..a43a21b 100644 --- a/api/src/main/resources/db/migration/V1.0.5__STUDENT_PROFILE_REQUEST_SAGA_API.sql +++ b/api/src/main/resources/db/migration/V1.0.5__STUDENT_PROFILE_REQUEST_SAGA_API.sql @@ -1,11 +1,6 @@ -ALTER TABLE STUDENT_PROFILE_SAGA -MODIFY ( - CREATE_USER VARCHAR2(100), - UPDATE_USER VARCHAR2(100) - ); +ALTER TABLE STUDENT_PROFILE_SAGA ALTER COLUMN CREATE_USER TYPE varchar(100); +ALTER TABLE STUDENT_PROFILE_SAGA ALTER COLUMN UPDATE_USER TYPE varchar(100); + +ALTER TABLE STUDENT_PROFILE_SAGA_EVENT_STATES ALTER COLUMN CREATE_USER TYPE varchar(100); +ALTER TABLE STUDENT_PROFILE_SAGA_EVENT_STATES ALTER COLUMN UPDATE_USER TYPE varchar(100); -ALTER TABLE STUDENT_PROFILE_SAGA_EVENT_STATES -MODIFY ( - CREATE_USER VARCHAR2(100), - UPDATE_USER VARCHAR2(100) - );