Paul Bienkowski
dd72ed791f
Use ESPG 3857 for all geometry columns
2023-04-01 16:44:47 +02:00
Paul Bienkowski
ce8054b7ae
Use NUTS for region import, not OSM
2023-03-31 21:06:59 +02:00
Paul Bienkowski
6fb5dfe6de
Fix index names on geometry tables and add way_id/relation_id indexes
2023-03-30 14:18:44 +02:00
gluap
10f6b0c0c9
make sure we generate the right geometry column type and stay with the types we had from osm2psql (and thus compatible with older installations).
...
I believe retrofitting the migrations is OK as these were overwritten by osm2pgsql in the past anyhow. Now at least we create the schema everyone is using already.
2023-03-30 14:18:44 +02:00
gluap
39d90b3606
Update 35e7f1768f9b_create_table_road.py
...
Weird. Normally alembic should not make spelling errors :D
2023-03-30 14:18:44 +02:00
Paul Bienkowski
69d7f64ead
Add import_group columns for OSM data tables
2023-03-30 14:18:44 +02:00
Paul Bienkowski
276a2ddc69
Remove HSTORE tags column from region table
2023-03-30 14:18:44 +02:00
Paul Bienkowski
5a78d7eb38
Parse device identifiers and create UserDevice entries in database
2023-03-12 13:13:46 +01:00
Paul Bienkowski
215801f2b0
Regions: Fix migration order
2023-03-12 13:09:36 +01:00
Paul Bienkowski
ec53591ce0
Create Region table
2023-03-12 12:39:23 +01:00
Paul Bienkowski
c1ccec9664
Add display_name field to users to specify a new name within the application, without changing the login name
2022-09-26 11:53:54 +02:00
Paul Bienkowski
959cb7d2b7
Add migrations for the whole schema
2022-04-03 16:06:12 +02:00
Paul Bienkowski
5a5948b653
Add road_usage table
2022-03-16 21:01:36 +01:00
Paul Bienkowski
f3a1ca4165
Add alembic setup for migrating
2022-03-16 21:01:20 +01:00
Paul Bienkowski
da33d814ae
Move API to python.
2021-11-22 09:50:33 +01:00
Paul Bienkowski
80ecd73e01
Move everything into "api" folder, for this will be a monorepo
2021-02-17 21:49:50 +01:00