summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_sqlite3/schema
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/ldb_sqlite3/schema')
-rw-r--r--source4/lib/ldb/ldb_sqlite3/schema19
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.
*/
/*