summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-10-22 11:22:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-27 07:24:31 +0000
commit62e200e3e3f51e74fabfb16b506649cd47b7cc42 (patch)
treefe224643bd55861c4d262b10d3d4f25a4e24873e /bitbake
parent78f935df8fafa0ded4decfd89e9bfac52bf5fab2 (diff)
downloadpoky-62e200e3e3f51e74fabfb16b506649cd47b7cc42.tar.gz
bitbake: 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] (Bitbake rev: 349119f44cdad240dda7f4db45992e2539e1416f) 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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py345
-rw-r--r--bitbake/lib/toaster/orm/models.py2
2 files changed, 346 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py b/bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py
new file mode 100644
index 0000000000..a2f8661afc
--- /dev/null
+++ b/bitbake/lib/toaster/orm/migrations/0028_auto__chg_field_logmessage_message.py
@@ -0,0 +1,345 @@
1# -*- coding: utf-8 -*-
2from south.utils import datetime_utils as datetime
3from south.db import db
4from south.v2 import SchemaMigration
5from django.db import models
6
7
8class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11
12 # Changing field 'LogMessage.message'
13 db.alter_column(u'orm_logmessage', 'message', self.gf('django.db.models.fields.TextField')(null=True))
14
15 def backwards(self, orm):
16
17 # Changing field 'LogMessage.message'
18 db.alter_column(u'orm_logmessage', 'message', self.gf('django.db.models.fields.CharField')(default='', max_length=240))
19
20 models = {
21 u'orm.bitbakeversion': {
22 'Meta': {'object_name': 'BitbakeVersion'},
23 'branch': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
24 'dirpath': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
25 'giturl': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
26 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
27 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
28 },
29 u'orm.branch': {
30 'Meta': {'unique_together': "(('layer_source', 'name'), ('layer_source', 'up_id'))", 'object_name': 'Branch'},
31 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'True', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
34 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
35 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
36 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
37 },
38 u'orm.build': {
39 'Meta': {'object_name': 'Build'},
40 'bitbake_version': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
41 'build_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
42 'completed_on': ('django.db.models.fields.DateTimeField', [], {}),
43 'cooker_log_path': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
44 'distro': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
45 'distro_version': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
46 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
47 'machine': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
48 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '2'}),
49 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
50 'started_on': ('django.db.models.fields.DateTimeField', [], {})
51 },
52 u'orm.buildartifact': {
53 'Meta': {'object_name': 'BuildArtifact'},
54 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
55 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
56 'file_size': ('django.db.models.fields.IntegerField', [], {}),
57 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
58 },
59 u'orm.customimagerecipe': {
60 'Meta': {'unique_together': "(('name', 'project'),)", 'object_name': 'CustomImageRecipe'},
61 'base_recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']"}),
62 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
63 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
64 'packages': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['orm.Package']", 'symmetrical': 'False'}),
65 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
66 },
67 u'orm.helptext': {
68 'Meta': {'object_name': 'HelpText'},
69 'area': ('django.db.models.fields.IntegerField', [], {}),
70 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'helptext_build'", 'to': u"orm['orm.Build']"}),
71 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
72 'key': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
73 'text': ('django.db.models.fields.TextField', [], {})
74 },
75 u'orm.layer': {
76 'Meta': {'unique_together': "(('layer_source', 'up_id'), ('layer_source', 'name'))", 'object_name': 'Layer'},
77 'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
78 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
79 'layer_index_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
80 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
81 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
82 'summary': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True'}),
83 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
84 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
85 'vcs_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
86 'vcs_web_file_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
87 'vcs_web_tree_base_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'}),
88 'vcs_web_url': ('django.db.models.fields.URLField', [], {'default': 'None', 'max_length': '200', 'null': 'True'})
89 },
90 u'orm.layer_version': {
91 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Layer_Version'},
92 'branch': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
93 'build': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'layer_version_build'", 'null': 'True', 'to': u"orm['orm.Build']"}),
94 'commit': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
95 'dirpath': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
96 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'layer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'layer_version_layer'", 'to': u"orm['orm.Layer']"}),
98 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
99 'local_path': ('django.db.models.fields.FilePathField', [], {'default': "'/'", 'max_length': '1024'}),
100 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
101 'project': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Project']", 'null': 'True'}),
102 'up_branch': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.Branch']", 'null': 'True'}),
103 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
104 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
105 },
106 u'orm.layersource': {
107 'Meta': {'unique_together': "(('sourcetype', 'apiurl'),)", 'object_name': 'LayerSource'},
108 'apiurl': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True'}),
109 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '63'}),
111 'sourcetype': ('django.db.models.fields.IntegerField', [], {})
112 },
113 u'orm.layerversiondependency': {
114 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'LayerVersionDependency'},
115 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependees'", 'to': u"orm['orm.Layer_Version']"}),
116 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
117 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
118 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dependencies'", 'to': u"orm['orm.Layer_Version']"}),
119 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
120 },
121 u'orm.logmessage': {
122 'Meta': {'object_name': 'LogMessage'},
123 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
124 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
125 'level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
126 'lineno': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
127 'message': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
128 'pathname': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
129 'task': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Task']", 'null': 'True', 'blank': 'True'})
130 },
131 u'orm.machine': {
132 'Meta': {'unique_together': "(('layer_source', 'up_id'),)", 'object_name': 'Machine'},
133 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
134 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
135 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
136 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']"}),
137 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
138 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
139 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'})
140 },
141 u'orm.package': {
142 'Meta': {'object_name': 'Package'},
143 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']", 'null': 'True'}),
144 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
145 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
146 'installed_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
147 'installed_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
148 'license': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
149 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
150 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Recipe']", 'null': 'True'}),
151 'revision': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}),
152 'section': ('django.db.models.fields.CharField', [], {'max_length': '80', 'blank': 'True'}),
153 'size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
154 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
155 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
156 },
157 u'orm.package_dependency': {
158 'Meta': {'object_name': 'Package_Dependency'},
159 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
160 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_target'", 'to': u"orm['orm.Package']"}),
161 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
162 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'package_dependencies_source'", 'to': u"orm['orm.Package']"}),
163 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']", 'null': 'True'})
164 },
165 u'orm.package_file': {
166 'Meta': {'object_name': 'Package_File'},
167 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
168 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildfilelist_package'", 'to': u"orm['orm.Package']"}),
169 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
170 'size': ('django.db.models.fields.IntegerField', [], {})
171 },
172 u'orm.project': {
173 'Meta': {'object_name': 'Project'},
174 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']", 'null': 'True'}),
175 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
176 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
177 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
178 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
179 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']", 'null': 'True'}),
180 'short_description': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
181 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
182 'user_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'})
183 },
184 u'orm.projectlayer': {
185 'Meta': {'unique_together': "(('project', 'layercommit'),)", 'object_name': 'ProjectLayer'},
186 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
187 'layercommit': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Layer_Version']", 'null': 'True'}),
188 'optional': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
189 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"})
190 },
191 u'orm.projecttarget': {
192 'Meta': {'object_name': 'ProjectTarget'},
193 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
194 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
195 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
196 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
197 },
198 u'orm.projectvariable': {
199 'Meta': {'object_name': 'ProjectVariable'},
200 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
201 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
202 'project': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Project']"}),
203 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
204 },
205 u'orm.recipe': {
206 'Meta': {'unique_together': "(('layer_version', 'file_path', 'pathflags'),)", 'object_name': 'Recipe'},
207 'bugtracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
208 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
209 'file_path': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
210 'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
211 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
212 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
213 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['orm.LayerSource']", 'null': 'True'}),
214 'layer_version': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'recipe_layer_version'", 'to': u"orm['orm.Layer_Version']"}),
215 'license': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
216 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
217 'pathflags': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
218 'section': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
219 'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
220 'up_date': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
221 'up_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True'}),
222 'version': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'})
223 },
224 u'orm.recipe_dependency': {
225 'Meta': {'object_name': 'Recipe_Dependency'},
226 'dep_type': ('django.db.models.fields.IntegerField', [], {}),
227 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_depends'", 'to': u"orm['orm.Recipe']"}),
228 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
229 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'r_dependencies_recipe'", 'to': u"orm['orm.Recipe']"})
230 },
231 u'orm.release': {
232 'Meta': {'object_name': 'Release'},
233 'bitbake_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.BitbakeVersion']"}),
234 'branch_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '50'}),
235 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
236 'helptext': ('django.db.models.fields.TextField', [], {'null': 'True'}),
237 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
238 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '32'})
239 },
240 u'orm.releasedefaultlayer': {
241 'Meta': {'object_name': 'ReleaseDefaultLayer'},
242 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
243 'layer_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100'}),
244 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
245 },
246 u'orm.releaselayersourcepriority': {
247 'Meta': {'unique_together': "(('release', 'layer_source'),)", 'object_name': 'ReleaseLayerSourcePriority'},
248 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
249 'layer_source': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.LayerSource']"}),
250 'priority': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
251 'release': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Release']"})
252 },
253 u'orm.target': {
254 'Meta': {'object_name': 'Target'},
255 'build': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Build']"}),
256 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
257 'image_size': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
258 'is_image': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
259 'license_manifest_path': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True'}),
260 'target': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
261 'task': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True'})
262 },
263 u'orm.target_file': {
264 'Meta': {'object_name': 'Target_File'},
265 'directory': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
266 'group': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
267 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
268 'inodetype': ('django.db.models.fields.IntegerField', [], {}),
269 'owner': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
270 'path': ('django.db.models.fields.FilePathField', [], {'max_length': '100'}),
271 'permission': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
272 'size': ('django.db.models.fields.IntegerField', [], {}),
273 'sym_target': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'symlink_set'", 'null': 'True', 'to': u"orm['orm.Target_File']"}),
274 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
275 },
276 u'orm.target_image_file': {
277 'Meta': {'object_name': 'Target_Image_File'},
278 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '254'}),
279 'file_size': ('django.db.models.fields.IntegerField', [], {}),
280 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
281 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
282 },
283 u'orm.target_installed_package': {
284 'Meta': {'object_name': 'Target_Installed_Package'},
285 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
286 'package': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'buildtargetlist_package'", 'to': u"orm['orm.Package']"}),
287 'target': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['orm.Target']"})
288 },
289 u'orm.task': {
290 'Meta': {'ordering': "('order', 'recipe')", 'unique_together': "(('build', 'recipe', 'task_name'),)", 'object_name': 'Task'},
291 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_build'", 'to': u"orm['orm.Build']"}),
292 'cpu_usage': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
293 'disk_io': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
294 'elapsed_time': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '8', 'decimal_places': '2'}),
295 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
296 'line_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
297 'logfile': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
298 'message': ('django.db.models.fields.CharField', [], {'max_length': '240'}),
299 'order': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
300 'outcome': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
301 'path_to_sstate_obj': ('django.db.models.fields.FilePathField', [], {'max_length': '500', 'blank': 'True'}),
302 'recipe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tasks'", 'to': u"orm['orm.Recipe']"}),
303 'script_type': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
304 'source_url': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'}),
305 'sstate_checksum': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
306 'sstate_result': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
307 'task_executed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
308 'task_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
309 'work_directory': ('django.db.models.fields.FilePathField', [], {'max_length': '255', 'blank': 'True'})
310 },
311 u'orm.task_dependency': {
312 'Meta': {'object_name': 'Task_Dependency'},
313 'depends_on': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_depends'", 'to': u"orm['orm.Task']"}),
314 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
315 'task': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'task_dependencies_task'", 'to': u"orm['orm.Task']"})
316 },
317 u'orm.toastersetting': {
318 'Meta': {'object_name': 'ToasterSetting'},
319 'helptext': ('django.db.models.fields.TextField', [], {}),
320 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
321 'name': ('django.db.models.fields.CharField', [], {'max_length': '63'}),
322 'value': ('django.db.models.fields.CharField', [], {'max_length': '255'})
323 },
324 u'orm.variable': {
325 'Meta': {'object_name': 'Variable'},
326 'build': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'variable_build'", 'to': u"orm['orm.Build']"}),
327 'changed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
328 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
329 'human_readable_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
330 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
331 'variable_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
332 'variable_value': ('django.db.models.fields.TextField', [], {'blank': 'True'})
333 },
334 u'orm.variablehistory': {
335 'Meta': {'object_name': 'VariableHistory'},
336 'file_name': ('django.db.models.fields.FilePathField', [], {'max_length': '255'}),
337 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
338 'line_number': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
339 'operation': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
340 'value': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
341 'variable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'vhistory'", 'to': u"orm['orm.Variable']"})
342 }
343 }
344
345 complete_apps = ['orm'] \ No newline at end of file
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index a784b1bf7a..3832905838 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1296,7 +1296,7 @@ class LogMessage(models.Model):
1296 build = models.ForeignKey(Build) 1296 build = models.ForeignKey(Build)
1297 task = models.ForeignKey(Task, blank = True, null=True) 1297 task = models.ForeignKey(Task, blank = True, null=True)
1298 level = models.IntegerField(choices=LOG_LEVEL, default=INFO) 1298 level = models.IntegerField(choices=LOG_LEVEL, default=INFO)
1299 message = models.CharField(max_length=240) 1299 message = models.TextField(blank=True, null=True)
1300 pathname = models.FilePathField(max_length=255, blank=True) 1300 pathname = models.FilePathField(max_length=255, blank=True)
1301 lineno = models.IntegerField(null=True) 1301 lineno = models.IntegerField(null=True)
1302 1302