diff options
author | Derrell Lipman <derrell@samba.org> | 2005-06-12 03:07:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:00 -0500 |
commit | 2e1851e1acae4aba40fd38bc0f7b088599e9cba9 (patch) | |
tree | 02d522c7736ce5e8aebed9f696e1ba55b826be52 /source4/lib/ldb/ldb_sqlite3/schema | |
parent | ee30cf3b1df749241b8ed479d7b3558af81b27bf (diff) | |
download | samba-2e1851e1acae4aba40fd38bc0f7b088599e9cba9.tar.gz samba-2e1851e1acae4aba40fd38bc0f7b088599e9cba9.tar.bz2 samba-2e1851e1acae4aba40fd38bc0f7b088599e9cba9.zip |
r7498: ldb_sqlite3 work in progress
(This used to be commit 797263330b9eada019e432ff201bf5c872e35b5d)
Diffstat (limited to 'source4/lib/ldb/ldb_sqlite3/schema')
-rw-r--r-- | source4/lib/ldb/ldb_sqlite3/schema | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/source4/lib/ldb/ldb_sqlite3/schema b/source4/lib/ldb/ldb_sqlite3/schema index dddca8d48f..b02b806150 100644 --- a/source4/lib/ldb/ldb_sqlite3/schema +++ b/source4/lib/ldb/ldb_sqlite3/schema @@ -37,11 +37,7 @@ create_timestamp INTEGER, -- Time when the entry was last modified - modify_timestamp INTEGER, - - -- Attributes of this entry, in the form - -- attr\1value\0[attr\1value\0]*\0 - entry_data TEXT + modify_timestamp INTEGER ); @@ -81,6 +77,19 @@ ); /* + * We keep a full listing of attribute/value pairs here + */ + CREATE TABLE ldb_attribute_values + ( + eid INTEGER REFERENCES ldb_entry, + + attr_name TEXT, -- see ldb_attr_ATTRIBUTE_NAME + + attr_value TEXT + ); + + + /* * There is one attribute table per searchable attribute. */ /* |