The way to do is to update models.py then run 'build/env/bin/hue schemamigration' to generate migrations (to add to the review) and also test the migration by applying it with 'migrate'. e.g. https://issues.cloudera.org/browse/HUE-704
User queries with long WHERE clauses fail with "Data truncated for column 'query' at row 1" error from the mysql DB.
Review Request #2655 - Created Jan. 29, 2013 and submitted
|abec, enricoberti, romain|
Patch for Jira HUE-1024.
I tested by running syncdb and confirmed that the 'query' column in beeswax_queryhistory is now a TEXT field.
A good first shot. Just a couple of things: 1. Hue has a database migration system called South. Instead of editing the migrations themselves, try modifying the models and creating a new schema migration: http://south.readthedocs.org/en/0.7.6/tutorial/part1.html 2. When providing a description for the review. Try providing the first entry in 'git whatchanged' (or just 'git whatchanged -1').