route-planner

command module
v0.0.0-...-296d6f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2025 License: MIT Imports: 7 Imported by: 0

README

route-planner

Database Schema Creation

CREATE SCHEMA IF NOT EXISTS route_planner;

GRANT USAGE ON SCHEMA route_planner TO homelab;

GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA route_planner TO homelab;

GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA route_planner TO homelab;

ALTER DEFAULT PRIVILEGES IN SCHEMA route_planner GRANT SELECT, INSERT, UPDATE, DELETE ON TABLES TO homelab;
ALTER DEFAULT PRIVILEGES IN SCHEMA route_planner GRANT USAGE, SELECT ON SEQUENCES TO homelab;

Migration and ref-data import

route-planner migration db/migrations
route-planner refdata road_classifications http://www.os.uk/xml/codelists/RoadClassificationValue.xml
route-planner refdata road_functions http://www.os.uk/xml/codelists/RoadFunctionValue.xml
route-planner refdata form_of_way_types http://www.os.uk/xml/codelists/FormOfWayTypeValue.xml
route-planner refdata form_of_road_types https://raw.githubusercontent.com/rm-hull/route-planner/refs/heads/main/data/FormOfRoadNodeTypeValue.xml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL