ResearchComputing / RCAMP

Research Computing Account Management Portal
MIT License
0 stars 0 forks source link

SQL truncation warnings #380

Open AaronTHolt opened 4 years ago

AaronTHolt commented 4 years ago

RCAMP generates SQL truncation warnings when running tests. Django recommends running SQL in strict mode to escalate those warnings to errors:

WARNINGS: ?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default' HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/1.11/ref/databases/#mysql-sql-mode