Project

General

Profile

Task #1782

Updated by Lukas Vonlanthen about 7 years ago

h2. Notes 

 * Similar to a django migration 
 * Specify diff only, as code 
 > * Change fields 
 > * Add fields 
 > * Delete fields 
 > * Change field order 
 > * Change section of question 
 * Set documentation/"What's new" in diff 
 * Make 'context aware' change hints for questions possible 
 * Use new table (or existing configuration table) to store the documentation/"What's new" and changed fields 

 h2. Estimate breakdown 

 * Extend/create table for documentation/"what's new": 2h 
 * New command to load data from diff (base class) 
 >* Validate ' version history' (depends_on): 4h 
 >* Set structure for command content: changes, documentation, help text: 2h 
 >* Add new field: (8h) field 
 >* Change order: question, questiongroup, section: (8h) section 
 >* Change structure (move question between sections): (8h) sections) 
 >* Change field type: (8h) type 
 >* Delete field: (8h) field 
 >* Merge data with previous version and get json: 8h 
 >* Validate structure: 2h 
 >* Save to db: 2h db 
 * Internal review (ongoing): 8h 
 * Tests: 12h Tests

Back