Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN Access Check - Account manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN Access Check - Account manager
Commits
c72f46b3
Commit
c72f46b3
authored
6 years ago
by
Guillaume ROUSSE
Browse files
Options
Downloads
Patches
Plain Diff
rename 'token' column in 'token' table to 'secret'
parent
302e8a34
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conf/manager.sql
+1
-1
1 addition, 1 deletion
conf/manager.sql
lib/AccountManager/Token.pm
+2
-2
2 additions, 2 deletions
lib/AccountManager/Token.pm
with
3 additions
and
3 deletions
conf/manager.sql
+
1
−
1
View file @
c72f46b3
CREATE
TABLE
tokens
(
id
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
token
varchar
(
50
)
NOT
NULL
,
secret
varchar
(
50
)
NOT
NULL
,
email_address
varchar
(
200
)
NOT
NULL
,
entityid
varchar
(
200
)
NOT
NULL
,
creation_date
datetime
DEFAULT
NULL
,
...
...
This diff is collapsed.
Click to expand it.
lib/AccountManager/Token.pm
+
2
−
2
View file @
c72f46b3
...
...
@@ -12,7 +12,7 @@ __PACKAGE__->meta->setup(
columns
=>
[
id
=>
{
type
=>
'
bigserial
',
not_null
=>
1
},
token
=>
{
type
=>
'
varchar
',
length
=>
50
,
not_null
=>
1
,
alias
=>
'
secret
'
},
secret
=>
{
type
=>
'
varchar
',
length
=>
50
,
not_null
=>
1
},
email_address
=>
{
type
=>
'
varchar
',
length
=>
200
,
not_null
=>
1
},
entityid
=>
{
type
=>
'
varchar
',
length
=>
200
,
not_null
=>
1
},
creation_date
=>
{
type
=>
'
datetime
'
},
...
...
@@ -22,7 +22,7 @@ __PACKAGE__->meta->setup(
primary_key_columns
=>
[
'
id
'
],
unique_keys
=>
[
[
'
token
'
],
[
'
secret
'
],
[
'
email_address
',
'
entityid
'
],
],
);
...
...
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