@opengis/gis 0.2.206 → 0.2.207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ CREATE TABLE if not exists gis.services
|
|
|
8
8
|
description text, -- Опис сервісу
|
|
9
9
|
keywords text[], -- Ключові слова
|
|
10
10
|
category text, -- Категорія сервісу
|
|
11
|
-
service_type text NOT NULL, -- Тип сервісу
|
|
11
|
+
service_type text NOT NULL DEFAULT 'vtile', -- Тип сервісу
|
|
12
12
|
holder text, -- (Опційно) Власник/Утримучач/Відповідальний
|
|
13
13
|
version text DEFAULT '1.0.0'::text, -- Версія сервісу
|
|
14
14
|
source_type text, -- Тип джерела
|
|
@@ -200,8 +200,9 @@ ALTER TABLE gis.services ALTER COLUMN created_at SET DEFAULT now();
|
|
|
200
200
|
ALTER TABLE gis.services ALTER COLUMN service_id SET NOT NULL;
|
|
201
201
|
update gis.services set name='' where name is null;
|
|
202
202
|
ALTER TABLE gis.services ALTER COLUMN name SET NOT NULL;
|
|
203
|
-
update gis.services set service_type='' where service_type is null;
|
|
203
|
+
update gis.services set service_type='vtile' where service_type is null;
|
|
204
204
|
ALTER TABLE gis.services ALTER COLUMN service_type SET NOT NULL;
|
|
205
|
+
ALTER TABLE gis.services ALTER COLUMN service_type SET SET DEFAULT 'vtile';
|
|
205
206
|
update gis.services set is_public=false where is_public is null;
|
|
206
207
|
ALTER TABLE gis.services ALTER COLUMN is_public SET NOT NULL;
|
|
207
208
|
update gis.services set created_by='1' where created_by is null;
|