4 Commits

Author SHA1 Message Date
z-bowen
bd76b31e40 Revert "Problem: No need to store different types of elections in their own tables"
This reverts commit db45374d3c690429d18a25bcc319f8056c016500.
2018-09-04 10:55:23 +02:00
z-bowen
db45374d3c Problem: No need to store different types of elections in their own tables
Solution: Remove `DB_TABLE` property from `Election` class
2018-09-03 12:45:37 +02:00
z-bowen
560a8154b7 Problem: Responding to a suggestion for improved method naming
Solution: Refactored `get_result_by_election_id` to `get_election_result_by_id`
2018-09-03 12:00:06 +02:00
z-bowen
3d67565bda Problem: ValidatorElection and MigrationElection need to inherit from a common Election class
Solution: Factored the common logic out of `ValidatorElection` and moved it to `Election` parent class
2018-08-31 13:56:55 +02:00