Skip to content

Commit

Permalink
wip(ldap): grants can be ordered by this field
Browse files Browse the repository at this point in the history
issue UPC#922
  • Loading branch information
frankiejol committed Nov 13, 2018
1 parent b0289bd commit e218363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/mysql/access_ldap_attribute.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
);

1 change: 1 addition & 0 deletions sql/sqlite/access_ldap_attribute.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
);

0 comments on commit e218363

Please sign in to comment.