equal
deleted
inserted
replaced
186 How to update a database after a schema modification ? |
186 How to update a database after a schema modification ? |
187 ------------------------------------------------------ |
187 ------------------------------------------------------ |
188 |
188 |
189 It depends on what has been modified in the schema. |
189 It depends on what has been modified in the schema. |
190 |
190 |
191 * Update of an attribute permissions and properties: |
191 * Update the permissions and properties of an entity or a relation: |
192 ``synchronize_eschema('MyEntity')``. |
192 ``sync_schema_props_perms('MyEntityOrRelation')``. |
193 |
|
194 * Update of a relation permissions and properties: |
|
195 ``synchronize_rschema('MyRelation')``. |
|
196 |
193 |
197 * Add an attribute: ``add_attribute('MyEntityType', 'myattr')``. |
194 * Add an attribute: ``add_attribute('MyEntityType', 'myattr')``. |
198 |
195 |
199 * Add a relation: ``add_relation_definition('SubjRelation', 'MyRelation', 'ObjRelation')``. |
196 * Add a relation: ``add_relation_definition('SubjRelation', 'MyRelation', 'ObjRelation')``. |
200 |
197 |