History log of /external/autotest/frontend/migrations/046_merge_databases.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
12454c6398a2197f959bc1c2839b83981a9c35ca 15-Jan-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix interactions with db_utils when simulating. Anyone attempting to
simulate a migration through AUTOTEST_WEB version 46 before this
change would actually drop the TKO database.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4129 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/migrations/046_merge_databases.py
82e1b48c44797fb0a240e1aa5b59b0cd6ce2b3ce 15-Jan-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Correcting issues in AUTOTEST_WEB migration 45

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4122 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/migrations/046_merge_databases.py
250d84d0a9716ece8ec4eb50b3702a167cda038d 12-Jan-2010 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Merge the two databases and the two Django projects. Note that the TKO migrations are still present, as is the migration code for TKO in database/migrate.py. These pieces of code are preserved because they are required by this change to perform the merge. A separate change will be submitted in the future to remove those references.

WARNING: This change will move all tables in TKO into the AUTOTEST_WEB database. Custom TKO tables that Autotest does not know about will NOT be moved, and will be lost after this change. Any scripts that run directly against the TKO database will cease functioning until they are modified to run against AUTOTEST_WEB. Additionally, if you were importing any .py files from autotest_lib.new_tko.tko.*, they have been moved to autotest_lib.frontend.tko.*

Notes: You will need to manually create two files after applying this patch
touch <autotest_dir>/frontend/tko/__init__.py
touch <autotest_dir>/tko/migrations/__init__.py
Optionally, you can also remove the entire <autotest_dir>/new_tko/ directory, as it is no longer needed.

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4106 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/migrations/046_merge_databases.py