# HG changeset patch # User Nicolas Chauvat # Date 1248802869 -7200 # Node ID 07a744f64c2e43988c41c326f2b24183899233e8 # Parent f7ca29d751836443c568fc670265f6148f430766 [doc] #342929: bad migration command in overview diff -r f7ca29d75183 -r 07a744f64c2e doc/book/en/annexes/faq.rst --- a/doc/book/en/annexes/faq.rst Tue Jul 28 18:44:19 2009 +0200 +++ b/doc/book/en/annexes/faq.rst Tue Jul 28 19:41:09 2009 +0200 @@ -188,11 +188,8 @@ It depends on what has been modified in the schema. - * Update of an attribute permissions and properties: - ``synchronize_eschema('MyEntity')``. - - * Update of a relation permissions and properties: - ``synchronize_rschema('MyRelation')``. + * Update the permissions and properties of an entity or a relation: + ``sync_schema_props_perms('MyEntityOrRelation')``. * Add an attribute: ``add_attribute('MyEntityType', 'myattr')``. diff -r f7ca29d75183 -r 07a744f64c2e doc/book/en/intro/tutorial/components.rst --- a/doc/book/en/intro/tutorial/components.rst Tue Jul 28 18:44:19 2009 +0200 +++ b/doc/book/en/intro/tutorial/components.rst Tue Jul 28 19:41:09 2009 +0200 @@ -67,12 +67,12 @@ Once you modified your data model, you need to synchronize the database with your model. For this purpose, *CubicWeb* provides a very useful command ``cubicweb-ctl shell blogdemo`` which -launches an interactive migration Python shell. (see -:ref:`cubicweb-ctl` for more details)) -As you modified a relation from the `BlogEntry` schema, -run the following command: +launches an interactive shell where you can enter migration +commands. (see :ref:`cubicweb-ctl` for more details)) +As you added the cube named `comment`, you need to run: + :: - synchronize_rschema('BlogEntry') + add_cube('comment') -You can now start your instance and add comments to each `BlogEntry`. +You can now start your instance and comment your blog entries.