Open githubbob42 opened 8 years ago
When the schema for a sobjects database changes we need to detect that change and automatically update the indexeddb database.
When the salesforce schema for an object changes specific things will cause the version to increment and the indexes to change:
It should do all of this seamlessly without any intervention by the user and it should not involve the loss of data.
Schema-builder should probably be renamed schema.
It will need db access so it compare current schema to a describe handed to it.
In which case we will probably want it to version the db and open and close it as necessary.
{{table query: SELECT Number, Name, Owner, 'Task Status' WHERE Type = Task and Story = THIS CARD}}
{{ table query: SELECT Number, Name, Owner, 'Status' WHERE Type = Defect and 'Related Story' = THIS CARD }}
Mingle Card: 3749 Justification
When the schema for a sobjects database changes we need to detect that change and automatically update the indexeddb database.
Acceptance Criteria
When the salesforce schema for an object changes specific things will cause the version to increment and the indexes to change:
It should do all of this seamlessly without any intervention by the user and it should not involve the loss of data.
Analysis
Schema-builder should probably be renamed schema.
It will need db access so it compare current schema to a describe handed to it.
In which case we will probably want it to version the db and open and close it as necessary.
Related Stories
Tasks
{{table query: SELECT Number, Name, Owner, 'Task Status' WHERE Type = Task and Story = THIS CARD}}
Defects
{{ table query: SELECT Number, Name, Owner, 'Status' WHERE Type = Defect and 'Related Story' = THIS CARD }}
Test Plan