aboutsummaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-14 16:32:42 +0200
committerJochen Topf <jochen@topf.org>2014-09-14 16:41:57 +0200
commit0bce8570acd121ffb6b65ec58d7e678cbd89798f (patch)
treee38ae0d288bdf4542ee2d5ae708eada7392be602 /sources
parent8685384c806e75457c44ea542d39f961e9658dfc (diff)
downloadtaginfo-0bce8570acd121ffb6b65ec58d7e678cbd89798f.tar
taginfo-0bce8570acd121ffb6b65ec58d7e678cbd89798f.tar.gz
Removed unused Potlatch-related code.
Diffstat (limited to 'sources')
-rw-r--r--sources/master/master.sql16
-rw-r--r--sources/master/selection.sql7
2 files changed, 10 insertions, 13 deletions
diff --git a/sources/master/master.sql b/sources/master/master.sql
index a3c250b..ebd8202 100644
--- a/sources/master/master.sql
+++ b/sources/master/master.sql
@@ -8,12 +8,11 @@
.bail ON
-ATTACH DATABASE '__DIR__/db/taginfo-db.db' AS db;
-ATTACH DATABASE '__DIR__/wiki/taginfo-wiki.db' AS wiki;
-ATTACH DATABASE '__DIR__/languages/taginfo-languages.db' AS languages;
-ATTACH DATABASE '__DIR__/josm/taginfo-josm.db' AS josm;
-ATTACH DATABASE '__DIR__/projects/taginfo-projects.db' AS projects;
-ATTACH DATABASE '__DIR__/potlatch/taginfo-potlatch.db' AS potlatch;
+ATTACH DATABASE '__DIR__/db/taginfo-db.db' AS db;
+ATTACH DATABASE '__DIR__/wiki/taginfo-wiki.db' AS wiki;
+ATTACH DATABASE '__DIR__/languages/taginfo-languages.db' AS languages;
+ATTACH DATABASE '__DIR__/josm/taginfo-josm.db' AS josm;
+ATTACH DATABASE '__DIR__/projects/taginfo-projects.db' AS projects;
-- ============================================================================
@@ -35,8 +34,7 @@ INSERT INTO sources SELECT 1, 1, * FROM db.source
UNION SELECT 2, 1, * FROM wiki.source
UNION SELECT 3, 1, * FROM languages.source
UNION SELECT 4, 1, * FROM josm.source
- UNION SELECT 5, 1, * FROM projects.source
- UNION SELECT 6, 0, * FROM potlatch.source;
+ UNION SELECT 5, 1, * FROM projects.source;
DROP TABLE IF EXISTS master_stats;
CREATE TABLE master_stats (
@@ -47,7 +45,7 @@ CREATE TABLE master_stats (
INSERT INTO master_stats SELECT * FROM db.stats
UNION SELECT * FROM wiki.stats
UNION SELECT * FROM josm.stats
- UNION SELECT * FROM potlatch.stats;
+ UNION SELECT * FROM projects.stats;
-- ============================================================================
diff --git a/sources/master/selection.sql b/sources/master/selection.sql
index 7793a65..053faad 100644
--- a/sources/master/selection.sql
+++ b/sources/master/selection.sql
@@ -15,10 +15,9 @@
-- ============================================================================
-ATTACH DATABASE '__DIR__/db/taginfo-db.db' AS db;
-ATTACH DATABASE '__DIR__/wiki/taginfo-wiki.db' AS wiki;
-ATTACH DATABASE '__DIR__/josm/taginfo-josm.db' AS josm;
-ATTACH DATABASE '__DIR__/potlatch/taginfo-potlatch.db' AS potlatch;
+ATTACH DATABASE '__DIR__/db/taginfo-db.db' AS db;
+ATTACH DATABASE '__DIR__/wiki/taginfo-wiki.db' AS wiki;
+ATTACH DATABASE '__DIR__/josm/taginfo-josm.db' AS josm;
-- ============================================================================