]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: orm Fix restrictive LogMessage message length
authorMichael Wood <michael.g.wood@intel.com>
Thu, 22 Oct 2015 10:22:28 +0000 (11:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Oct 2015 07:23:22 +0000 (07:23 +0000)
commit349119f44cdad240dda7f4db45992e2539e1416f
treed9db875b8d29ac68fd30cdf59e60193b142e26a8
parentae754655fa1bc5168f43e8821773e7b7b9440a5d
toaster: orm Fix restrictive LogMessage message length

Log messages can be quite long so use a TextField rather than a char
field with max length of 240. mySQL is especially picky about field
lengths and will cause an exception if the log is too long.

[YOCTO #8475]

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py [new file with mode: 0644]
lib/toaster/orm/models.py