From b655b6bf21ffe43dd4c6a1ae945517a24d38c80e Mon Sep 17 00:00:00 2001 From: dylanbun <56641275+dylanbun@users.noreply.github.com> Date: Wed, 24 May 2023 15:30:23 -0700 Subject: [PATCH] got it working --- conf/evolutions/default/{188.sql => 187.sql} | 25 ++++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) rename conf/evolutions/default/{188.sql => 187.sql} (72%) diff --git a/conf/evolutions/default/188.sql b/conf/evolutions/default/187.sql similarity index 72% rename from conf/evolutions/default/188.sql rename to conf/evolutions/default/187.sql index 825af03b06..b517b7e075 100644 --- a/conf/evolutions/default/188.sql +++ b/conf/evolutions/default/187.sql @@ -1,5 +1,5 @@ # --- !Ups -# --- do we need more lat/lng cords? +--- do we need more lat/lng cords? CREATE TABLE config ( open_status TEXT NOT NULL, mapathon_event_link TEXT NOT NULL, @@ -10,14 +10,14 @@ CREATE TABLE config ( northeast_boundary_lat DOUBLE PRECISION NOT NULL, northeast_boundary_lng DOUBLE PRECISION NOT NULL, attribute_center_lat DOUBLE PRECISION NOT NULL, - attribute-center-lng DOUBLE PRECISION NOT NULL, - attribute-zoom DOUBLE PRECISION NOT NULL, - attribute-lat1 DOUBLE PRECISION NOT NULL, - attribute-lng1 DOUBLE PRECISION NOT NULL, - attribute-lat2 DOUBLE PRECISION NOT NULL, - attribute-lng2 DOUBLE PRECISION NOT NULL, - street-center-lat DOUBLE PRECISION NOT NULL, - street-center-lng DOUBLE PRECISION NOT NULL, + attribute_center_lng DOUBLE PRECISION NOT NULL, + attribute_zoom DOUBLE PRECISION NOT NULL, + attribute_lat1 DOUBLE PRECISION NOT NULL, + attribute_lng1 DOUBLE PRECISION NOT NULL, + attribute_lat2 DOUBLE PRECISION NOT NULL, + attribute_lng2 DOUBLE PRECISION NOT NULL, + street_center_lat DOUBLE PRECISION NOT NULL, + street_center_lng DOUBLE PRECISION NOT NULL, street_zoom DOUBLE PRECISION NOT NULL, street_lat1 DOUBLE PRECISION NOT NULL, street_lng1 DOUBLE PRECISION NOT NULL, @@ -37,9 +37,8 @@ CREATE TABLE config ( ); -# Insert one row into the database, choosing the correct city based on the db name. INSERT INTO config VALUES ('partially', 'NOTE: There is nothing here', 47.615, -122.332, 47.400, -122.664, 47.850, -122.000, --122.300, 15.5, 47.615, -122.307, 47.623, -122.293, 47.618, -122.299, 16.0, 47.611, +47.619, -122.300, 15.5, 47.615, -122.307, 47.623, -122.293, 47.618, -122.299, 16.0, 47.611, -122.309, 47.625, -122.289, 47.616, -122.296, 13.0, 47.600, -122.320, 47.636, -122.275, 11.75, 27645, 3, '[ "tactile warning" @@ -53,7 +52,7 @@ INSERT INTO config VALUES ('partially', 'NOTE: There is nothing here', 47.615, - "painted sidewalk" "pedestrian arcade" "too close to traffic"]' -) WHERE current_database() = 'sidewalk-seattle'; +); -# ---!Downs +# --- !Downs DROP TABLE config; \ No newline at end of file