Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
e2183630
Commit
e2183630
authored
Oct 31, 2018
by
Francesc Guasch
Browse files
wip(ldap): grants can be ordered by this field
issue #922
parent
b0289bd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/mysql/access_ldap_attribute.sql
View file @
e2183630
...
...
@@ -5,7 +5,7 @@ CREATE TABLE `access_ldap_attribute` (
`value`
varchar
(
64
),
`allowed`
int
not
null
default
1
,
`n_order`
int
not
null
default
1
,
`last`
int
not
null
default
1
,
PRIMARY
KEY
(
`id
`
)
PRIMARY
KEY
(
`id`
)
,
UNIQUE
KEY
`id_base`
(
`id_domain`
,
`attribute`
,
`value
`
)
);
sql/sqlite/access_ldap_attribute.sql
View file @
e2183630
...
...
@@ -4,5 +4,6 @@ CREATE TABLE `access_ldap_attribute` (
,
`attribute`
varchar
(
64
)
,
`value`
varchar
(
64
)
,
`allowed`
integer
not
null
default
1
,
`n_order`
integer
not
null
default
1
,
UNIQUE
(
`id_domain`
,
`attribute`
,
`value`
)
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment