bitbake: toaster: migrate orm models to South
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Tue, 3 Dec 2013 12:51:04 +0000 (12:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Dec 2013 11:16:14 +0000 (11:16 +0000)
commitceb48d7df3809a0828dc134078d538091e73b562
tree67464d88c76d6f1d9bc890926010b4afd587f290
parent2f952a76674a9cd61c57595beae2e5fe6b365733
bitbake: toaster: migrate orm models to South

As Toaster advances, database schema alteration
will force users to delete old versions and lose
all data collected.

In order to prevent this, and to allow database
updates to happen without having to delete old data,
we use South to handle migrations for the ORM
application which stores the Toaster data.

    [YOCTO #5559]

(Bitbake rev: 6936faed8d94f3a2ab4055049cd27d02d8229003)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/toaster
bitbake/lib/toaster/orm/migrations/0001_initial.py [new file with mode: 0644]
bitbake/lib/toaster/orm/migrations/__init__.py [new file with mode: 0644]
bitbake/lib/toaster/toastermain/settings.py