Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
f5055137
Unverified
Commit
f5055137
authored
5 years ago
by
Tim van Dijen
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Restore postgres support
As commented in #1155 1155
parent
c6487b4e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/saml/lib/SP/LogoutStore.php
+2
-2
2 additions, 2 deletions
modules/saml/lib/SP/LogoutStore.php
with
2 additions
and
2 deletions
modules/saml/lib/SP/LogoutStore.php
+
2
−
2
View file @
f5055137
...
...
@@ -37,7 +37,7 @@ class LogoutStore
case
'pgsql'
:
// This does not affect the NOT NULL constraint
$update
=
[
'ALTER TABLE '
.
$store
->
prefix
.
'_saml_LogoutStore ALTER COLUMN _expire
DATE
TIME'
];
'_saml_LogoutStore ALTER COLUMN _expire TIME
STAMP
'
];
break
;
case
'sqlite'
:
/**
...
...
@@ -151,7 +151,7 @@ class LogoutStore
_authSource VARCHAR('
.
(
$store
->
driver
===
'mysql'
?
'191'
:
'255'
)
.
') NOT NULL,
_nameId VARCHAR(40) NOT NULL,
_sessionIndex VARCHAR(50) NOT NULL,
_expire DATETIME NOT NULL,
_expire
'
.
(
$store
->
driver
===
'pgsql'
?
'TIMESTAMP'
:
'
DATETIME
'
)
.
'
NOT NULL,
_sessionId VARCHAR(50) NOT NULL,
UNIQUE (_authSource'
.
(
$store
->
driver
===
'mysql'
?
'(191)'
:
''
)
.
', _nameID, _sessionIndex)
)'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment