diff options
| author | Michael Wood <michael.g.wood@intel.com> | 2016-02-05 11:44:57 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-10 13:29:21 +0000 |
| commit | 86db0bd7f213c192214b4e3dc4d42b0374004fc6 (patch) | |
| tree | dbbeee0a5336ff77f1f7c8c2d39d2d1c9f69cf78 /bitbake/lib/toaster/orm/migrations | |
| parent | 18d8b170520817c4307345631a8b804ada0f21ab (diff) | |
| download | poky-86db0bd7f213c192214b4e3dc4d42b0374004fc6.tar.gz | |
bitbake: toaster: orm Add last_updated field to CustomImageRecipe
Field to keep track of when the package list for the CustomImageRecipe
was last updated from a build.
(Bitbake rev: 4bd4e49f13a7625997a43f3b2e67ed42c3c8e08b)
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/lib/toaster/orm/migrations')
| -rw-r--r-- | bitbake/lib/toaster/orm/migrations/0006_customimagerecipe_last_updated.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/migrations/0006_customimagerecipe_last_updated.py b/bitbake/lib/toaster/orm/migrations/0006_customimagerecipe_last_updated.py new file mode 100644 index 0000000000..b7a301b541 --- /dev/null +++ b/bitbake/lib/toaster/orm/migrations/0006_customimagerecipe_last_updated.py | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # -*- coding: utf-8 -*- | ||
| 2 | from __future__ import unicode_literals | ||
| 3 | |||
| 4 | from django.db import migrations, models | ||
| 5 | |||
| 6 | |||
| 7 | class Migration(migrations.Migration): | ||
| 8 | |||
| 9 | dependencies = [ | ||
| 10 | ('orm', '0005_auto_20160118_1055'), | ||
| 11 | ] | ||
| 12 | |||
| 13 | operations = [ | ||
| 14 | migrations.AddField( | ||
| 15 | model_name='customimagerecipe', | ||
| 16 | name='last_updated', | ||
| 17 | field=models.DateTimeField(default=None, null=True), | ||
| 18 | ), | ||
| 19 | ] | ||
