Commit e2183630 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

wip(ldap): grants can be ordered by this field

issue #922
parent b0289bd3
......@@ -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`)
);
......@@ -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`)
);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment