From 8500638c1d78c920ca374d24df19ee81720aa050 Mon Sep 17 00:00:00 2001 From: Tim Sutton Date: Fri, 11 Jul 2025 01:06:37 +0100 Subject: [PATCH] Adding license headers --- .github/workflows/LicenseChecks.yml | 2 ++ .github/workflows/LoadSchema.yml | 2 ++ .github/workflows/MarkdownChecks.yml | 2 ++ .github/workflows/PythonChecks.yml | 2 ++ .github/workflows/QAChecks.yml | 2 ++ .github/workflows/SQLChecks.yml | 2 ++ .github/workflows/SpellCheck.yml | 2 ++ .github/workflows/YamlChecks.yml | 2 ++ .markdownlint.yaml | 2 ++ CODE_OF_CONDUCT.md | 2 ++ CONTRIBUTING.md | 2 ++ README.md | 2 ++ cspell.json | 2 ++ flake.nix | 2 ++ presentations/1-overview.md | 2 ++ presentations/13-roads.md | 2 ++ presentations/3-culinaryfacilities.md | 2 ++ presentations/PRESENTATION.md | 2 ++ presentations/slide-style.css | 2 ++ requirements.txt | 2 ++ scripts/add_spdx_headers.sh | 15 ++++++++++----- scripts/check.sh | 2 ++ scripts/codebase_size_check.sh | 2 ++ scripts/commit_test_stats.py | 2 ++ scripts/create_presentations.sh | 2 ++ scripts/docstrings_check.sh | 2 ++ scripts/encoding_check.sh | 2 ++ scripts/gource.sh | 2 ++ scripts/license_check.sh | 2 ++ scripts/load_schema.sh | 2 ++ scripts/start_pg.sh | 2 ++ scripts/stop_pg.sh | 2 ++ scripts/vscode.sh | 2 ++ sql/1-infrastructure.md | 2 ++ sql/1-infrastructure.sql | 2 ++ sql/10-gates.md | 2 ++ sql/10-gates.sql | 2 ++ sql/11-poles.md | 2 ++ sql/11-poles.sql | 2 ++ sql/12-culinary.md | 2 ++ sql/12-culinary.sql | 2 ++ sql/13-roads.md | 2 ++ sql/13-roads.sql | 2 ++ sql/2-electricity.md | 2 ++ sql/2-electricity.sql | 2 ++ sql/3-water.md | 2 ++ sql/3-water.sql | 2 ++ sql/4-vegetation.md | 2 ++ sql/4-vegetation.sql | 2 ++ sql/5-monitoring.md | 2 ++ sql/5-monitoring.sql | 2 ++ sql/6-buildings.md | 2 ++ sql/6-buildings.sql | 2 ++ sql/7-fencing.md | 2 ++ sql/7-fencing.sql | 2 ++ sql/8-poi.md | 2 ++ sql/8-poi.sql | 2 ++ sql/9-landuse.md | 2 ++ sql/9-landuse.sql | 2 ++ sql/extensions.sql | 2 ++ sql/fixtures.sql | 2 ++ 61 files changed, 130 insertions(+), 5 deletions(-) mode change 100755 => 100644 scripts/check.sh mode change 100755 => 100644 scripts/codebase_size_check.sh mode change 100755 => 100644 scripts/commit_test_stats.py mode change 100755 => 100644 scripts/create_presentations.sh mode change 100755 => 100644 scripts/docstrings_check.sh mode change 100755 => 100644 scripts/encoding_check.sh mode change 100755 => 100644 scripts/gource.sh mode change 100755 => 100644 scripts/license_check.sh mode change 100755 => 100644 scripts/load_schema.sh mode change 100755 => 100644 scripts/stop_pg.sh diff --git a/.github/workflows/LicenseChecks.yml b/.github/workflows/LicenseChecks.yml index dc35fb1..effa9d8 100644 --- a/.github/workflows/LicenseChecks.yml +++ b/.github/workflows/LicenseChecks.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT name: πŸ“ƒ License Checks on: pull_request: diff --git a/.github/workflows/LoadSchema.yml b/.github/workflows/LoadSchema.yml index 38a1589..2d82abe 100644 --- a/.github/workflows/LoadSchema.yml +++ b/.github/workflows/LoadSchema.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT name: πŸ‹πŸ½ PostGIS Load Test on: push: diff --git a/.github/workflows/MarkdownChecks.yml b/.github/workflows/MarkdownChecks.yml index 3af1036..6450dca 100644 --- a/.github/workflows/MarkdownChecks.yml +++ b/.github/workflows/MarkdownChecks.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT name: ✏️ Markdown Checks on: pull_request: diff --git a/.github/workflows/PythonChecks.yml b/.github/workflows/PythonChecks.yml index 9e6841d..9d4f2ae 100644 --- a/.github/workflows/PythonChecks.yml +++ b/.github/workflows/PythonChecks.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT name: 🐍 Python Checks on: pull_request: diff --git a/.github/workflows/QAChecks.yml b/.github/workflows/QAChecks.yml index d4d8001..a4d642e 100644 --- a/.github/workflows/QAChecks.yml +++ b/.github/workflows/QAChecks.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT name: βš’οΈ QA Checks on: pull_request: diff --git a/.github/workflows/SQLChecks.yml b/.github/workflows/SQLChecks.yml index 390ee36..6143b76 100644 --- a/.github/workflows/SQLChecks.yml +++ b/.github/workflows/SQLChecks.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT name: πŸ‘¨πŸ½ SQL Checks on: pull_request: diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index 76d9b9f..d10b826 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT name: πŸ‘οΈ Spelling Checks on: pull_request: diff --git a/.github/workflows/YamlChecks.yml b/.github/workflows/YamlChecks.yml index 5398e63..3ec6af8 100644 --- a/.github/workflows/YamlChecks.yml +++ b/.github/workflows/YamlChecks.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT name: πŸ—œοΈ Yaml Checks on: pull_request: diff --git a/.markdownlint.yaml b/.markdownlint.yaml index f067e51..15f48df 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,2 +1,4 @@ +# SPDX-FileCopyrightText: +# SPDX-License-Identifier: MD013: false # allow long lines 1 MD033: false # allow inline HTML diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 6e4d362..d141d10 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,5 @@ + + # 🌟 Contributor Covenant Code of Conduct ## 🌈 Our Pledge diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d37ba57..0c4ff82 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,5 @@ + + # ✨ Contributing to Infrastructure Mapper Thank you for considering contributing to **Infrastructure Mapper**! diff --git a/README.md b/README.md index c3743aa..95715ba 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # 🌐 Infrastructure Mapper diff --git a/cspell.json b/cspell.json index 8c799d8..f66fff3 100644 --- a/cspell.json +++ b/cspell.json @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT { "version": "0.2", "words": [ diff --git a/flake.nix b/flake.nix index 10dc105..4f8b9a8 100644 --- a/flake.nix +++ b/flake.nix @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT { description = "NixOS developer environment for QGIS plugins."; diff --git a/presentations/1-overview.md b/presentations/1-overview.md index d3fe60c..25e175c 100644 --- a/presentations/1-overview.md +++ b/presentations/1-overview.md @@ -1,3 +1,5 @@ + + --- marp: true theme: infrastructure diff --git a/presentations/13-roads.md b/presentations/13-roads.md index cef9e91..bb4dbb0 100644 --- a/presentations/13-roads.md +++ b/presentations/13-roads.md @@ -1,3 +1,5 @@ + + --- marp: true theme: infrastructure diff --git a/presentations/3-culinaryfacilities.md b/presentations/3-culinaryfacilities.md index 2de2dfa..05d6e1b 100644 --- a/presentations/3-culinaryfacilities.md +++ b/presentations/3-culinaryfacilities.md @@ -1,3 +1,5 @@ + + --- marp: true theme: infrastructure diff --git a/presentations/PRESENTATION.md b/presentations/PRESENTATION.md index a77e784..810f82e 100644 --- a/presentations/PRESENTATION.md +++ b/presentations/PRESENTATION.md @@ -1,3 +1,5 @@ + + # πŸ–ΌοΈ Presentation Format Guide (Marp) This folder contains Marp-based presentations for the **Infrastructure Mapper** project. diff --git a/presentations/slide-style.css b/presentations/slide-style.css index 9380a5e..577dac8 100644 --- a/presentations/slide-style.css +++ b/presentations/slide-style.css @@ -1,3 +1,5 @@ + + /* slide-style.css */ /* @theme infrastructure */ diff --git a/requirements.txt b/requirements.txt index eb59310..5a8a916 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT darglint==1.8.1 diff --git a/scripts/add_spdx_headers.sh b/scripts/add_spdx_headers.sh index c33e943..b5c8e8c 100755 --- a/scripts/add_spdx_headers.sh +++ b/scripts/add_spdx_headers.sh @@ -47,15 +47,20 @@ add_header() { export -f add_header -# Find all files except in .git, .reuse, LICENSES, etc. +# Find all files and check against .gitignore dynamically find . \ -type f \ ! -path "./.git/*" \ ! -path "./LICENSES/*" \ ! -path "./.reuse/*" \ ! -name "*.license" \ - ! -name "*.png" \ - ! -name "*.gif" \ - ! -name "*.qgz" \ - -exec bash -c 'add_header "$0"' {} \; + -print0 | while IFS= read -r -d '' file; do + # Use git check-ignore to see if file should be ignored per .gitignore + if git check-ignore -q "$file" 2>/dev/null; then + echo "🚫 Skipping ignored file: $file" + continue + fi + + add_header "$file" + done diff --git a/scripts/check.sh b/scripts/check.sh old mode 100755 new mode 100644 index e471fca..9fa2fe4 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT pre-commit clean > /dev/null pre-commit install --install-hooks > /dev/null pre-commit run --all-files || true diff --git a/scripts/codebase_size_check.sh b/scripts/codebase_size_check.sh old mode 100755 new mode 100644 index 958e365..7c72656 --- a/scripts/codebase_size_check.sh +++ b/scripts/codebase_size_check.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash # πŸ€– Add a hook that calculates the number of lines change and gives diff --git a/scripts/commit_test_stats.py b/scripts/commit_test_stats.py old mode 100755 new mode 100644 index 84eb8c6..cfb8da3 --- a/scripts/commit_test_stats.py +++ b/scripts/commit_test_stats.py @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env python3 # -*- coding: utf-8 -*- diff --git a/scripts/create_presentations.sh b/scripts/create_presentations.sh old mode 100755 new mode 100644 index 9f7e7bd..2d4e74c --- a/scripts/create_presentations.sh +++ b/scripts/create_presentations.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash PRESENTATION_DIR="./presentations" diff --git a/scripts/docstrings_check.sh b/scripts/docstrings_check.sh old mode 100755 new mode 100644 index 8a60833..19cf5a4 --- a/scripts/docstrings_check.sh +++ b/scripts/docstrings_check.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash # πŸ€– Add a check that ensures that any python modules updated diff --git a/scripts/encoding_check.sh b/scripts/encoding_check.sh old mode 100755 new mode 100644 index b6e0b9b..cde7e94 --- a/scripts/encoding_check.sh +++ b/scripts/encoding_check.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash # πŸ€– Add a precommit hook that ensures that each python diff --git a/scripts/gource.sh b/scripts/gource.sh old mode 100755 new mode 100644 index ac943d0..3994e0c --- a/scripts/gource.sh +++ b/scripts/gource.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash diff --git a/scripts/license_check.sh b/scripts/license_check.sh old mode 100755 new mode 100644 index fc7a49d..27f8ade --- a/scripts/license_check.sh +++ b/scripts/license_check.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash # πŸ€– Add a shell hook that ensures that each file (sql, shell script, python module) diff --git a/scripts/load_schema.sh b/scripts/load_schema.sh old mode 100755 new mode 100644 index 2f03171..1ede4ed --- a/scripts/load_schema.sh +++ b/scripts/load_schema.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash PSQL=$(which psql) diff --git a/scripts/start_pg.sh b/scripts/start_pg.sh index 6570466..02d0f9e 100755 --- a/scripts/start_pg.sh +++ b/scripts/start_pg.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT export PATH=${postgresWithPostGIS}/bin:$PATH export PGDATA="$PWD/pgdata" export PGHOST="$PGDATA" diff --git a/scripts/stop_pg.sh b/scripts/stop_pg.sh old mode 100755 new mode 100644 index 50bcfe0..d294195 --- a/scripts/stop_pg.sh +++ b/scripts/stop_pg.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash set -x PGDATA=$PWD/pgdata diff --git a/scripts/vscode.sh b/scripts/vscode.sh index 0649ff0..e9e1d2e 100755 --- a/scripts/vscode.sh +++ b/scripts/vscode.sh @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: Tim Sutton +# SPDX-License-Identifier: MIT #!/usr/bin/env bash # ---------------------------------------------- diff --git a/sql/1-infrastructure.md b/sql/1-infrastructure.md index ba5a608..ac47398 100644 --- a/sql/1-infrastructure.md +++ b/sql/1-infrastructure.md @@ -1,3 +1,5 @@ + + # πŸ—οΈ Infrastructure ![Infrastructure](../img/infrastructure.png) diff --git a/sql/1-infrastructure.sql b/sql/1-infrastructure.sql index 2150386..21da63a 100644 --- a/sql/1-infrastructure.sql +++ b/sql/1-infrastructure.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------INFRASTRUCTURE------------------------------------- -- INFRASTRUCTURE TYPE CREATE TABLE diff --git a/sql/10-gates.md b/sql/10-gates.md index d707d7e..c13d1e0 100644 --- a/sql/10-gates.md +++ b/sql/10-gates.md @@ -1,3 +1,5 @@ + + # πŸšͺ Gates ![Gates](../img/gates.png) diff --git a/sql/10-gates.sql b/sql/10-gates.sql index 9a0218d..943aa41 100644 --- a/sql/10-gates.sql +++ b/sql/10-gates.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------GATES-------------------------------------------- -- added by Jeremy Ferris -- GATE TYPE diff --git a/sql/11-poles.md b/sql/11-poles.md index 57c51a5..183e49f 100644 --- a/sql/11-poles.md +++ b/sql/11-poles.md @@ -1,3 +1,5 @@ + + # πŸͺ§ Poles ![Poles](../img/poles.png) diff --git a/sql/11-poles.sql b/sql/11-poles.sql index 678e51b..7a4bddb 100644 --- a/sql/11-poles.sql +++ b/sql/11-poles.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------POLES-------------------------------------------- -- By Charles Mudima -- POLE MATERIAL diff --git a/sql/12-culinary.md b/sql/12-culinary.md index c21a0f6..dca8b69 100644 --- a/sql/12-culinary.md +++ b/sql/12-culinary.md @@ -1,3 +1,5 @@ + + # 🍽️ Culinary ![Culinary](../img/food-services.png) diff --git a/sql/12-culinary.sql b/sql/12-culinary.sql index 2a6cdd0..4425ff6 100644 --- a/sql/12-culinary.sql +++ b/sql/12-culinary.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------CULINARY -- FACILITIES------------------------------------- -- By: Hefni R. R. A. diff --git a/sql/13-roads.md b/sql/13-roads.md index 337fa47..37e82d5 100644 --- a/sql/13-roads.md +++ b/sql/13-roads.md @@ -1,3 +1,5 @@ + + # πŸ›£οΈ Roads ![Roads](../img/roads.png) diff --git a/sql/13-roads.sql b/sql/13-roads.sql index 36a6572..5cd120e 100644 --- a/sql/13-roads.sql +++ b/sql/13-roads.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------ROADS-------------------------------------------- -- SEGMENT TYPE CREATE TABLE IF NOT EXISTS segment_type ( diff --git a/sql/2-electricity.md b/sql/2-electricity.md index c7c8d7c..a4ee261 100644 --- a/sql/2-electricity.md +++ b/sql/2-electricity.md @@ -1,3 +1,5 @@ + + # ⚑ Electricity ![Electricity](../img/electricity.png) diff --git a/sql/2-electricity.sql b/sql/2-electricity.sql index 48cd0e9..739eb80 100644 --- a/sql/2-electricity.sql +++ b/sql/2-electricity.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------ELECTRICITY------------------------------------- -- ELECTRICITY LINE TYPE CREATE TABLE diff --git a/sql/3-water.md b/sql/3-water.md index 11812bb..684081d 100644 --- a/sql/3-water.md +++ b/sql/3-water.md @@ -1,3 +1,5 @@ + + # πŸ’§ Water ![Water](../img/water.png) diff --git a/sql/3-water.sql b/sql/3-water.sql index a647518..de1c694 100644 --- a/sql/3-water.sql +++ b/sql/3-water.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------WATER------------------------------------- -- WATER SOURCE CREATE TABLE diff --git a/sql/4-vegetation.md b/sql/4-vegetation.md index 8620e4e..4f59c45 100644 --- a/sql/4-vegetation.md +++ b/sql/4-vegetation.md @@ -1,3 +1,5 @@ + + # 🌱 Vegetation ![Vegetation](../img/vegetation.png) diff --git a/sql/4-vegetation.sql b/sql/4-vegetation.sql index 7f5b4a1..57f4314 100644 --- a/sql/4-vegetation.sql +++ b/sql/4-vegetation.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------VEGETATION------------------------------------- -- PLANT GROWTH ACTIVITY TYPE CREATE TABLE diff --git a/sql/5-monitoring.md b/sql/5-monitoring.md index 2002170..d9cb37c 100644 --- a/sql/5-monitoring.md +++ b/sql/5-monitoring.md @@ -1,3 +1,5 @@ + + # πŸ“‘ Monitoring ![Monitoring](../img/monitoring.png) diff --git a/sql/5-monitoring.sql b/sql/5-monitoring.sql index e6e0ab8..5b02b09 100644 --- a/sql/5-monitoring.sql +++ b/sql/5-monitoring.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------MONITORING -- STATIONS------------------------------------- -- READING UNIT diff --git a/sql/6-buildings.md b/sql/6-buildings.md index 042b2ca..16f16bd 100644 --- a/sql/6-buildings.md +++ b/sql/6-buildings.md @@ -1,3 +1,5 @@ + + # 🏠 Buildings ![Buildings](../img/buildings.png) diff --git a/sql/6-buildings.sql b/sql/6-buildings.sql index 21b01c4..987acba 100644 --- a/sql/6-buildings.sql +++ b/sql/6-buildings.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- -------------------------------------- LAND USE BUILDINGS -- ------------------------------------- -- BUILDING TYPE -- diff --git a/sql/7-fencing.md b/sql/7-fencing.md index 3556238..b5c3662 100644 --- a/sql/7-fencing.md +++ b/sql/7-fencing.md @@ -1,3 +1,5 @@ + + # 🚧 Fencing ![Fencing](../img/fencing.png) diff --git a/sql/7-fencing.sql b/sql/7-fencing.sql index f6c93a5..f40caf1 100644 --- a/sql/7-fencing.sql +++ b/sql/7-fencing.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- -------------------------------------- FENCES ------------------------------------- -- FENCE TYPE CREATE TABLE diff --git a/sql/8-poi.md b/sql/8-poi.md index 0f44050..bf4b1b7 100644 --- a/sql/8-poi.md +++ b/sql/8-poi.md @@ -1,3 +1,5 @@ + + # πŸ“ Points Of Interest diff --git a/sql/8-poi.sql b/sql/8-poi.sql index 2e65967..000be02 100644 --- a/sql/8-poi.sql +++ b/sql/8-poi.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- POINT OF INTEREST TYPE CREATE TABLE IF NOT EXISTS point_of_interest_type ( diff --git a/sql/9-landuse.md b/sql/9-landuse.md index 63bc64d..401561a 100644 --- a/sql/9-landuse.md +++ b/sql/9-landuse.md @@ -1,3 +1,5 @@ + + # πŸ—ΊοΈ Land use diff --git a/sql/9-landuse.sql b/sql/9-landuse.sql index aaec667..c36ee61 100644 --- a/sql/9-landuse.sql +++ b/sql/9-landuse.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- --------------------------------------LANDUSE AREA -- ------------------------------------- -- LANDUSE AREA TYPE diff --git a/sql/extensions.sql b/sql/extensions.sql index 29343e3..abf927c 100644 --- a/sql/extensions.sql +++ b/sql/extensions.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT --create database farming; -- add connect statement here DO $$ diff --git a/sql/fixtures.sql b/sql/fixtures.sql index cd53fed..04e5be1 100644 --- a/sql/fixtures.sql +++ b/sql/fixtures.sql @@ -1,3 +1,5 @@ +-- SPDX-FileCopyrightText: Tim Sutton +-- SPDX-License-Identifier: MIT -- vegetation -- months of the year INSERT INTO month (last_update_by, name, sort_order) VALUES (