diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 408: fix south dependencies between lava-server and lava-dashboard

Message ID 20130115211215.16414.20264.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Andy Doan Jan. 15, 2013, 9:12 p.m. UTC
------------------------------------------------------------
revno: 408
committer: Andy Doan <andy.doan@linaro.org>
branch nick: lava-server
timestamp: Tue 2013-01-15 15:06:31 -0600
message:
  fix south dependencies between lava-server and lava-dashboard
  
  This is required to all south to rollback/forward changes in
  both the dashboard and lava-server
added:
  lava_projects/models.py
modified:
  lava_projects/migrations/0003_auto__del_projectformeridentifier__del_project.py


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_projects/migrations/0003_auto__del_projectformeridentifier__del_project.py'
--- lava_projects/migrations/0003_auto__del_projectformeridentifier__del_project.py	2013-01-14 21:26:37 +0000
+++ lava_projects/migrations/0003_auto__del_projectformeridentifier__del_project.py	2013-01-15 21:06:31 +0000
@@ -7,6 +7,10 @@ 
 
 class Migration(SchemaMigration):
 
+    depends_on = (
+        ("dashboard_app", "0027_auto__del_testingeffort"),
+    )
+
     def forwards(self, orm):
         # Deleting model 'ProjectFormerIdentifier'
         db.delete_table('lava_projects_projectformeridentifier')
@@ -43,7 +47,7 @@ 
 
 
     models = {
-        
+
     }
 
-    complete_apps = ['lava_projects']
\ No newline at end of file
+    complete_apps = ['lava_projects']

=== added file 'lava_projects/models.py'
--- lava_projects/models.py	1970-01-01 00:00:00 +0000
+++ lava_projects/models.py	2013-01-15 21:06:31 +0000
@@ -0,0 +1,19 @@ 
+# Copyright (C) 2010, 2011 Linaro Limited
+#
+# Author: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
+#
+# This file is part of LAVA Server.
+#
+# LAVA Server is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License version 3
+# as published by the Free Software Foundation
+#
+# LAVA Server is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with LAVA Server.  If not, see <http://www.gnu.org/licenses/>.
+
+# needed for south migrations