Gehel has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/367661 )

Change subject: maps - ensure cleanup also deletes related objects
......................................................................

maps - ensure cleanup also deletes related objects

Bug: T169011
Change-Id: I4efe4ba2dfcd67f086f7ac6ab62fa8ce150d970e
---
M modules/profile/files/maps/osm-initial-import
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/61/367661/1

diff --git a/modules/profile/files/maps/osm-initial-import 
b/modules/profile/files/maps/osm-initial-import
index 6385ccf..5487e42 100644
--- a/modules/profile/files/maps/osm-initial-import
+++ b/modules/profile/files/maps/osm-initial-import
@@ -75,9 +75,9 @@
 
 function reset_postgres() {
   echo "starting reset of prosgresql database"
-  sudo -u postgres psql -d gis -c 'DROP TABLE IF EXISTS admin, 
planet_osm_line, planet_osm_point, planet_osm_polygon, planet_osm_roads, 
water_polygons;'
+  sudo -u postgres psql -d gis -c 'DROP TABLE IF EXISTS admin, 
planet_osm_line, planet_osm_point, planet_osm_polygon, planet_osm_roads, 
water_polygons CASCADE;'
   ensure_sql_grants
-  echo "reset of prosgresql database comleted"
+  echo "reset of prosgresql database completed"
 }
 
 function ensure_sql_grants() {

-- 
To view, visit https://gerrit.wikimedia.org/r/367661
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4efe4ba2dfcd67f086f7ac6ab62fa8ce150d970e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gehel <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to