remove migrations already run

This commit is contained in:
Ed Chalstrey 2022-02-21 15:44:04 +00:00
parent 82e9a45a4c
commit 496e1c0eee

View File

@ -307,24 +307,12 @@ Load all building outlines.
./load_geometries.sh ./
```
Index geometries (should be faster after loading).
```bash
psql -U <username> -h localhost -d <colouringlondondb> < ../migrations/002.index-geometries.up.sql
```
Create a building record per outline.
```bash
./create_building_records.sh
```
Index building records.
```bash
psql -U <username> -h localhost -d <colouringlondondb> < ../migrations/003.index-buildings.up.sql
```
#### Re-run database migrations
Re-run the remaining migrations in `../migrations` to create the rest of the database structure.