From 04fd7ddd9e5294d669283ce66a3cfe1725d5a1ca Mon Sep 17 00:00:00 2001
From: Marat Badykov <maratcool@mail.ru>
Date: Mon, 4 May 2020 14:05:38 +0300
Subject: [PATCH]  fix createLogoutTable method (#1324)

fix_createLogoutTable_method
---
 modules/saml/lib/SP/LogoutStore.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/saml/lib/SP/LogoutStore.php b/modules/saml/lib/SP/LogoutStore.php
index 96114e344..a955516dd 100644
--- a/modules/saml/lib/SP/LogoutStore.php
+++ b/modules/saml/lib/SP/LogoutStore.php
@@ -40,7 +40,7 @@ class LogoutStore
                 case 'pgsql':
                     // This does not affect the NOT NULL constraint
                     $update = [
-                        'ALTER TABLE ' . $store->prefix . '_saml_LogoutStore ALTER COLUMN _expire TIMESTAMP'
+                        'ALTER TABLE ' . $store->prefix . '_saml_LogoutStore ALTER COLUMN _expire TYPE TIMESTAMP'
                     ];
                     break;
                 case 'sqlite':
-- 
GitLab