Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dynamic Exposure
OpenBuildingMap
database-obmbuildings
Commits
59228b51
Commit
59228b51
authored
Aug 16, 2021
by
Marius Kriegerowski
Committed by
Felix Delattre
Oct 18, 2021
Browse files
Added sql linter
parent
86bde927
Pipeline
#29116
failed with stage
in 1 minute and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
59228b51
image
:
python:3-buster
image
:
python:3-bullseye
linter
:
before_script
:
-
pip3 install sqlfluff
script
:
-
sqlfluff lint --dialect postgres
test
:
before_script
:
...
...
migrations/00001_create-main-table.sql
View file @
59228b51
-- 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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment