Skip to content

Commit 205d278

Browse files
committed
fix migration
1 parent 2f623e4 commit 205d278

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/database/migrations/003_geoip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func Migrate003GeoIP(ctx context.Context, tx pgx.Tx) error {
2525
CREATE INDEX network_city_geoname_id
2626
ON geoip.networks USING GIST (network inet_ops) INCLUDE (city_geoname_id);
2727
28-
DROP VIEW execution.node_view;
28+
DROP VIEW IF EXISTS execution.node_view;
2929
ALTER TABLE disc.nodes DROP COLUMN city_geoname_id;
3030
3131
ALTER TABLE stats.execution_nodes ALTER country_geoname_id DROP NOT NULL;

0 commit comments

Comments
 (0)