← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~wgrant/launchpad/bugtaskflat-seed into lp:launchpad

 

William Grant has proposed merging lp:~wgrant/launchpad/bugtaskflat-seed into lp:launchpad.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~wgrant/launchpad/bugtaskflat-seed/+merge/100386

bugtaskflat is FKless, so it needs manual seeding into the main replication set. There are also five tables that can be removed: bugtag recently had an FK added, and the other four tables are no longer with us.
-- 
https://code.launchpad.net/~wgrant/launchpad/bugtaskflat-seed/+merge/100386
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wgrant/launchpad/bugtaskflat-seed into lp:launchpad.
=== modified file 'database/replication/helpers.py'
--- database/replication/helpers.py	2011-12-30 06:14:56 +0000
+++ database/replication/helpers.py	2012-04-02 11:11:29 +0000
@@ -46,8 +46,6 @@
 # calculate_replication_set().
 LPMAIN_SEED = frozenset([
     ('public', 'account'),
-    ('public', 'openidnonce'),
-    ('public', 'openidassociation'),
     ('public', 'person'),
     ('public', 'databasereplicationlag'),
     ('public', 'fticache'),
@@ -56,13 +54,11 @@
     ('public', 'openidconsumernonce'),
     ('public', 'codeimportmachine'),
     ('public', 'scriptactivity'),
-    ('public', 'standardshipitrequest'),
-    ('public', 'bugtag'),
     ('public', 'launchpadstatistic'),
     ('public', 'parsedapachelog'),
-    ('public', 'shipitsurvey'),
     ('public', 'databasereplicationlag'),
     ('public', 'featureflag'),
+    ('public', 'bugtaskflat'),
     # suggestivepotemplate can be removed when the
     # suggestivepotemplate.potemplate foreign key constraint exists on
     # production.