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
0740e3db
Commit
0740e3db
authored
Apr 26, 2021
by
Felix Delattre
Browse files
Changed geometry type for buildings
parent
ec16ce7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0740e3db
...
...
@@ -21,7 +21,7 @@ Please add a small reasoning around the following points for each proposed merge
| column_name | data_type |
|-------------|--------------------------|
| osm_id | integer (primary key) |
| geometry | geometry (
Polygon
, 4326) |
| geometry | geometry (
Geometry
, 4326) |
#### `migrations` - Information about database migrations
...
...
migrations/00004_change_geometry_type.sql
0 → 100644
View file @
0740e3db
ALTER
TABLE
public
.
obm_buildings
DROP
COLUMN
geometry
;
ALTER
TABLE
public
.
obm_buildings
ADD
COLUMN
IF
NOT
EXISTS
geometry
geometry
(
GEOMETRY
,
4326
);
Write
Preview
Supports
Markdown
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