album/migrations/2018-09-05-065252_places_osm/down.sql
Rasmus Kaj 7cea04400f Refactor fetching places.
Added a command line subcommand to fetch places for specified images.
2018-09-05 23:39:35 +02:00

5 lines
142 B
SQL

ALTER TABLE places DROP COLUMN osm_id;
ALTER TABLE places DROP COLUMN osm_level;
CREATE UNIQUE INDEX places_name_idx ON places (place_name);