feat: implement SEO improvements, listing profiles, service images, and towns serviced
This commit is contained in:
10
migrate_banner_url.sql
Normal file
10
migrate_banner_url.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- Migration: Add banner_url column to listings and service_listings
|
||||
-- Run against fuelprices database:
|
||||
-- docker run --rm postgres:15 psql "postgres://postgres:password@192.168.1.204:5432/fuelprices" -f /path/to/this/file
|
||||
-- Or inline:
|
||||
-- docker run --rm postgres:15 psql "postgres://postgres:password@192.168.1.204:5432/fuelprices" \
|
||||
-- -c "ALTER TABLE listings ADD COLUMN IF NOT EXISTS banner_url VARCHAR(255);" \
|
||||
-- -c "ALTER TABLE service_listings ADD COLUMN IF NOT EXISTS banner_url VARCHAR(255);"
|
||||
|
||||
ALTER TABLE listings ADD COLUMN IF NOT EXISTS banner_url VARCHAR(255);
|
||||
ALTER TABLE service_listings ADD COLUMN IF NOT EXISTS banner_url VARCHAR(255);
|
||||
Reference in New Issue
Block a user