[doc] Adds how to add attribute in DB.
authorSandrine Ribeau <sandrine.ribeau@logilab.fr>
Mon, 13 Apr 2009 10:10:18 -0700
changeset 1350 31e4c8d30e5d
parent 1349 2452e660aea6
child 1351 8c126c74647c
[doc] Adds how to add attribute in DB.
doc/book/en/D010-faq.en.txt
--- a/doc/book/en/D010-faq.en.txt	Fri Apr 10 09:29:33 2009 -0700
+++ b/doc/book/en/D010-faq.en.txt	Mon Apr 13 10:10:18 2009 -0700
@@ -145,9 +145,15 @@
 
   It depends on what has been modified in the schema.
 
-  * Update of a non final relation.
+  * Update of an attribute permissions and properties: 
+    ``synchronize_eschema('MyEntity')``.
 
-  * Update of a final relation.
+  * Update of a relation permissions and properties: 
+    ``synchronize_rschema('MyRelation')``.
+
+  * Add an attribute: ``add_attribute('MyEntityType', 'myattr')``.
+
+  * Add a relation: ``add_relation_definition('SubjRelation', 'MyRelation', 'ObjRelation')``.
 
 
 * How to create an anonymous user?