Commit 59228b51 authored by Marius Kriegerowski's avatar Marius Kriegerowski Committed by Felix Delattre
Browse files

Added sql linter

parent 86bde927
Pipeline #29116 failed with stage
in 1 minute and 27 seconds
image: python:3-buster
image: python:3-bullseye
linter:
before_script:
- pip3 install sqlfluff
script:
- sqlfluff lint --dialect postgres
test:
before_script:
......
-- Create the `obm_buildings` table
CREATE TABLE public.obm_buildings
(
osm_id integer PRIMARY KEY
);
ALTER TABLE public.obm_buildings
OWNER to postgres;
CREATE TABLE public.obm_buildings (osm_id integer PRIMARY KEY);
ALTER TABLE public.obm_buildings OWNER TO postgres;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment