USER STORY : Implement Data Validation in Models
tomik-z-cech opened this issue · 1 comments
tomik-z-cech commented
As a Developer, I need implement data validation rules within Ohm-Azing Componenets database models.
Acceptance Criteria :
All values inserted into database are the correct values and types, all applicable fileds are all set to be required or/and to be unique or/and nullable/not nullable.
Tasks :
- Set correct data type for all fileds
- Set all required fields to
required = True
- Set all required fileds that can be nullable to
null = True
- Set all required fileds that have to be unique (username)
unique = True
- Create SuperUser
- Test data type by inserting test data into databse
Epic :
EPIC 2
tomik-z-cech commented
This was done in commit 1d2929d.