Spine-Toolbox
Spine-Toolbox copied to clipboard
Cannot delete Base alternative
As the title says
I think it's okay to allow deleting the Base alternative.
But at the same time we should keep adding it to the newly created databases and using it by default in import_data, etc, because it's handy for users who don't want to use alternatives and scenarios. It would be awkward to ask them to create an alternative before being able to add any parameter values.
And then advanced users who know what they're doing should be allowed to remove it.
The question is for purging, do we keep the Base or we delete it together with everything else? I think of purge as a reset of sorts, so in that case it should restore the DB to 'factory settings' which means the Base alternative should stay. What do you think?
The question is for purging, do we keep the Base or we delete it together with everything else? I think of purge as a reset of sorts, so in that case it should restore the DB to 'factory settings' which means the Base alternative should stay. What do you think?
That is an interesting take on purging! Perhaps I closed spine-tools/Spine-Database-API#327 prematurely. Would it make sense to have it as an option in purge settings?
Purge could have an additional option to say the name of the initial alternative (and it could be 'base' by default).