From 83a027c1bbf694d57e7b93ae928b4396c22ed765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Tue, 2 Jun 2020 23:38:25 +0200 Subject: [PATCH] MAPG-101 increase geo digits to 7 --- .../structure/20200602_2331_geo_digits.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 database/migrations/structure/20200602_2331_geo_digits.sql diff --git a/database/migrations/structure/20200602_2331_geo_digits.sql b/database/migrations/structure/20200602_2331_geo_digits.sql new file mode 100644 index 0000000..50fc270 --- /dev/null +++ b/database/migrations/structure/20200602_2331_geo_digits.sql @@ -0,0 +1,17 @@ +ALTER TABLE + `maps` +MODIFY + `bound_south_lat` decimal(9, 7) NOT NULL, +MODIFY + `bound_west_lng` decimal(10, 7) NOT NULL, +MODIFY + `bound_north_lat` decimal(9, 7) NOT NULL, +MODIFY + `bound_east_lng` decimal(10, 7) NOT NULL; + +ALTER TABLE + `places` +MODIFY + `lat` decimal(9, 7) NOT NULL, +MODIFY + `lng` decimal(10, 7) NOT NULL;