← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~maxiberta/launchpad/snappy-sampledata into lp:launchpad

 

Maximiliano Bertacchini has proposed merging lp:~maxiberta/launchpad/snappy-sampledata into lp:launchpad.

Commit message:
Add SnappySeries and SnappyDistroSeries sample data for development.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~maxiberta/launchpad/snappy-sampledata/+merge/298562

Add SnappySeries and SnappyDistroSeries sample data for development.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~maxiberta/launchpad/snappy-sampledata into lp:launchpad.
=== modified file 'database/sampledata/current-dev.sql'
--- database/sampledata/current-dev.sql	2016-05-24 16:52:57 +0000
+++ database/sampledata/current-dev.sql	2016-06-28 17:59:37 +0000
@@ -1,6 +1,6 @@
 -- Copyright 2010-2016 Canonical Ltd.  This software is licensed under the
 -- GNU Affero General Public License version 3 (see the file LICENSE).
--- Created using pg_dump (PostgreSQL) 9.3.5
+-- Created using pg_dump (PostgreSQL) 9.3.12
 
 SET check_function_bodies = false;
 SET client_encoding = 'UTF8';
@@ -3821,6 +3821,7 @@
 
 INSERT INTO featureflag (scope, priority, flag, value, date_modified) VALUES ('default', 0, 'js.combo_loader.enabled', 'true', '2012-05-18 07:34:39.239649');
 INSERT INTO featureflag (scope, priority, flag, value, date_modified) VALUES ('default', 1, 'longpoll.merge_proposals.enabled', 'true', '2012-05-18 07:34:39.239649');
+INSERT INTO featureflag (scope, priority, flag, value, date_modified) VALUES ('default', 0, 'snap.allow_new', 'true', '2016-06-22 15:32:03.502299');
 
 
 ALTER TABLE featureflag ENABLE TRIGGER ALL;
@@ -9487,6 +9488,15 @@
 
 
 
+ALTER TABLE snappyseries DISABLE TRIGGER ALL;
+
+INSERT INTO snappyseries (id, date_created, registrant, name, display_name, status) VALUES (1, '2016-06-22 16:25:51.474348', 1, 'ubuntu_core_1504', 'Ubuntu Core 15.04', 4);
+INSERT INTO snappyseries (id, date_created, registrant, name, display_name, status) VALUES (2, '2016-06-22 16:25:51.474348', 1, 'ubuntu_core_16', 'Ubuntu Core 16', 4);
+
+
+ALTER TABLE snappyseries ENABLE TRIGGER ALL;
+
+
 ALTER TABLE snap DISABLE TRIGGER ALL;
 
 
@@ -9524,6 +9534,20 @@
 
 
 
+ALTER TABLE snappydistroseries DISABLE TRIGGER ALL;
+
+INSERT INTO snappydistroseries (snappy_series, distro_series) VALUES (1, 1);
+INSERT INTO snappydistroseries (snappy_series, distro_series) VALUES (1, 3);
+INSERT INTO snappydistroseries (snappy_series, distro_series) VALUES (2, 1);
+INSERT INTO snappydistroseries (snappy_series, distro_series) VALUES (2, 3);
+
+
+ALTER TABLE snappydistroseries ENABLE TRIGGER ALL;
+
+
+
+
+
 ALTER TABLE sourcepackageformatselection DISABLE TRIGGER ALL;
 
 INSERT INTO sourcepackageformatselection (id, distroseries, format) VALUES (1, 1, 0);


Follow ups