From 7def999b0aa3511671049826741ee3ebb6ce9573 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 29 Sep 2010 15:16:39 -0500 Subject: Fix migration dependencies exposed after moving models When we moved some models from one app to another, we didn't do anything to ensure the tables were created at all initially. Enforce this by adding the minimal required dependencies- those migrations in the 'main' model that last touched the involved models moving between apps. Noticed-by: Angel Velasquez Signed-off-by: Dan McGee --- news/migrations/0002_move_news_in.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'news') diff --git a/news/migrations/0002_move_news_in.py b/news/migrations/0002_move_news_in.py index 617e4b66..d6dafad4 100644 --- a/news/migrations/0002_move_news_in.py +++ b/news/migrations/0002_move_news_in.py @@ -6,6 +6,10 @@ class Migration(SchemaMigration): + depends_on = ( + ('main', '0001_initial'), + ) + def forwards(self, orm): pass -- cgit v1.2.3-54-g00ecf