diff options
author | Derrell Lipman <derrell@samba.org> | 2005-05-30 16:46:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:18 -0500 |
commit | a3972de8949f5d1c804c316b0be61c17e61d903b (patch) | |
tree | 1eea461494fb4f366e9616778d99c7472663c215 /source4/lib/ldb/ldb_sqlite3/schema | |
parent | 7d82d86660b77633a6abacf892e9d6a677917365 (diff) | |
download | samba-a3972de8949f5d1c804c316b0be61c17e61d903b.tar.gz samba-a3972de8949f5d1c804c316b0be61c17e61d903b.tar.bz2 samba-a3972de8949f5d1c804c316b0be61c17e61d903b.zip |
r7116: work in progress
(This used to be commit c860a4f9940c04021ecc859240c5f35c3d1c4bed)
Diffstat (limited to 'source4/lib/ldb/ldb_sqlite3/schema')
-rw-r--r-- | source4/lib/ldb/ldb_sqlite3/schema | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_sqlite3/schema b/source4/lib/ldb/ldb_sqlite3/schema index 2ba188c785..d06d7d0c34 100644 --- a/source4/lib/ldb/ldb_sqlite3/schema +++ b/source4/lib/ldb/ldb_sqlite3/schema @@ -43,8 +43,10 @@ CREATE TABLE ldb_attr_value_pairs ( dn_id INTEGER REFERENCES ldb_distinguished_names, - attr_name TEXT REFERENCES ldb_attributes, - attr_value TEXT + attr_name TEXT, -- optionally REFERENCES ldb_attributes + attr_value TEXT, + + UNIQUE (dn_id, attr_name, attr_value) ); -- ------------------------------------------------------ |