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
66d1e9fe
Commit
66d1e9fe
authored
7 years ago
by
Guillaume ROUSSE
Browse files
Options
Downloads
Patches
Plain Diff
renaming and cleanup
parent
21f4451b
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/create-manager-db.sql
+0
-42
0 additions, 42 deletions
conf/create-manager-db.sql
conf/manager.sql
+34
-0
34 additions, 0 deletions
conf/manager.sql
with
34 additions
and
42 deletions
conf/create-manager-db.sql
deleted
100644 → 0
+
0
−
42
View file @
21f4451b
--
-- Database: `idp_account_manager`
--
-- --------------------------------------------------------
CREATE
TABLE
`tokens`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`token`
varchar
(
50
)
NOT
NULL
,
`email_address`
varchar
(
200
)
NOT
NULL
,
`sp_entityid`
varchar
(
200
)
NOT
NULL
,
`creation_date`
datetime
DEFAULT
NULL
,
`expiration_date`
datetime
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`token_2`
(
`token`
),
KEY
`token`
(
`token`
),
CONSTRAINT
token_email_entity
UNIQUE
(
email_address
(
50
),
sp_entityid
(
50
))
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
CREATE
TABLE
`services`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`entityid`
varchar
(
200
)
NOT
NULL
,
`displayname`
varchar
(
500
)
DEFAULT
NULL
,
`contacts`
varchar
(
2000
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`entityid`
(
`entityid`
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
AUTO_INCREMENT
=
4
;
CREATE
TABLE
`accounts`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`token`
varchar
(
50
)
NOT
NULL
,
`password_crypt`
varchar
(
50
)
NOT
NULL
,
`password_hash`
varchar
(
50
)
NOT
NULL
,
`creation_date`
datetime
DEFAULT
NULL
,
`expiration_date`
datetime
DEFAULT
NULL
,
`profile`
varchar
(
100
)
NOT
NULL
,
`scope`
varchar
(
100
)
NOT
NULL
,
`sp_entityid`
varchar
(
250
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
This diff is collapsed.
Click to expand it.
conf/manager.sql
0 → 100644
+
34
−
0
View file @
66d1e9fe
CREATE
TABLE
tokens
(
id
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
token
varchar
(
50
)
NOT
NULL
,
email_address
varchar
(
200
)
NOT
NULL
,
sp_entityid
varchar
(
200
)
NOT
NULL
,
creation_date
datetime
DEFAULT
NULL
,
expiration_date
datetime
DEFAULT
NULL
,
PRIMARY
KEY
(
id
),
UNIQUE
KEY
token_2
(
token
),
KEY
token
(
token
),
CONSTRAINT
token_email_entity
UNIQUE
(
email_address
(
50
),
sp_entityid
(
50
))
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
CREATE
TABLE
services
(
id
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
entityid
varchar
(
200
)
NOT
NULL
,
displayname
varchar
(
500
)
DEFAULT
NULL
,
contacts
varchar
(
2000
)
DEFAULT
NULL
,
PRIMARY
KEY
(
id
),
UNIQUE
KEY
entityid
(
entityid
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
AUTO_INCREMENT
=
4
;
CREATE
TABLE
accounts
(
id
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
token
varchar
(
50
)
NOT
NULL
,
password_crypt
varchar
(
50
)
NOT
NULL
,
password_hash
varchar
(
50
)
NOT
NULL
,
creation_date
datetime
DEFAULT
NULL
,
expiration_date
datetime
DEFAULT
NULL
,
profile
varchar
(
100
)
NOT
NULL
,
scope
varchar
(
100
)
NOT
NULL
,
sp_entityid
varchar
(
250
)
NOT
NULL
,
PRIMARY
KEY
(
id
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
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