Commit Graph

5 Commits

Author SHA1 Message Date
Tom Price
4689775a5f Several changes to models
Add __str__ methods with unicode compatibility.

Make trainer fields optional as they should be.
Include these migrations and apply to DB.

Install some test data in the DB.
2015-10-22 13:54:26 +01:00
Tom Price
697a5977c8 Add the unique together constraint to TrainingRecord model and actually commit the migration this time. 2015-10-22 00:19:05 +01:00
Tom Price
80ba59c3ba Fix models and create migration 2015-10-21 17:51:59 +01:00
Tom Price
227b63e689 Add a sensible data structure.
This is sensible to the current structure but there are a few changes. These were done to maintain the same functionality, but to reduce the number of DB rows used.
2015-10-21 16:59:17 +01:00
Tom Price
0b35965fa1 Start the conversion of the training database as a priority.
Also includes a script to export access to SQL
2015-10-21 13:32:25 +01:00