From 2696e40259cb2324921573ea5a9f984cf9f178b6 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 4 Jun 2024 11:36:38 +0300 Subject: [PATCH] Add script to rollback --- scripts/rollback/2024-06-04.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 scripts/rollback/2024-06-04.sql diff --git a/scripts/rollback/2024-06-04.sql b/scripts/rollback/2024-06-04.sql new file mode 100644 index 0000000..1996851 --- /dev/null +++ b/scripts/rollback/2024-06-04.sql @@ -0,0 +1,18 @@ +ALTER TABLE ONLY registered_service ALTER COLUMN client_id type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN owner type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN name type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN key_type type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN url type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN description type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN frequency type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN target type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN issuer type character varying(255); +ALTER TABLE ONLY registered_service ALTER COLUMN contacts type character varying(255); + +ALTER TABLE ONLY personal_info ALTER COLUMN id type character varying(255); +ALTER TABLE ONLY personal_info ALTER COLUMN affiliation type character varying(255); +ALTER TABLE ONLY personal_info ALTER COLUMN email type character varying(255); +ALTER TABLE ONLY personal_info ALTER COLUMN name type character varying(255); +ALTER TABLE ONLY personal_info ALTER COLUMN position type character varying(255); +ALTER TABLE ONLY personal_info ALTER COLUMN surname type character varying(255); +ALTER TABLE ONLY personal_info ALTER COLUMN affiliation_type type character varying(255);