Carpeta inicial añadida

This commit is contained in:
2026-03-16 12:08:04 -04:00
parent 157c93736c
commit f829e6a42f
35 changed files with 9396 additions and 197 deletions

13
init-unix.sql Normal file
View File

@@ -0,0 +1,13 @@
UPDATE pg_database SET datistemplate='false' WHERE datname='template_postgis';
DROP DATABASE IF EXISTS template_postgis;
CREATE DATABASE template_postgis WITH ENCODING 'UTF8';
UPDATE pg_database SET datistemplate='true' WHERE datname='template_postgis';
\c template_postgis
CREATE EXTENSION IF NOT EXISTS postgis;
GRANT ALL ON geometry_columns TO PUBLIC;
GRANT ALL ON geography_columns TO PUBLIC;
GRANT ALL ON spatial_ref_sys TO PUBLIC;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";