In pursuit of DeckoSystems and beyond, this is a first step.
Need to support more than one deck in one or more ways:
First goal is the minimal viable to do the first bullet point. The plan is to handle name based virtual hosts mapped to subset of card_id as grouped by new column to cards deck_id. All id links should initially be partitioned by deck_id, meaning that left, right and type ids as well as same in references and history will all be same deck_id value.
A deck_id will be one-to-one with a website (hostname).
I'm thining that maybe next steps are to add an option to some of the decko commands to select a deck. Then I could seed a second one and run tests in the default or additional instances.
A test with only deck_id:10 populated with test seeds, but no seeds for default (1) should be a pretty good test. Then some routing tests for the name based routing to select a given deck.
I'll have to investigate how to use cucumbers where hostnames are 'routed'. Should be doable.
+discussed in support tickets
+relevant user stories