mirror of
https://github.com/gosom/google-maps-scraper.git
synced 2026-09-19 07:27:12 +08:00
fix: drop data column migration (#244)
* fix: drop data column migration * Rename 0003_results_jsonb.dow.sql to 0003_results_jsonb.down.sql * fix: add migration 4 down
This commit is contained in:
committed by
GitHub
parent
794cbab190
commit
7d7e600329
+5
@@ -11,4 +11,9 @@ BEGIN;
|
||||
ADD COLUMN rating NUMERIC NOT NULL,
|
||||
ADD COLUMN latitude DOUBLE PRECISION NOT NULL DEFAULT 0,
|
||||
ADD COLUMN longitude DOUBLE PRECISION NOT NULL DEFAULT 0;
|
||||
|
||||
|
||||
ALTER TABLE results
|
||||
DROP COLUMN data;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,5 @@
|
||||
BEGIN;
|
||||
|
||||
DROP INDEX idx_gmaps_jobs_status_priority_created;
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user