-- Add image metadata columns to vehicles table
ALTER TABLE vehicles ADD COLUMN IF NOT EXISTS image_storage_bucket VARCHAR(50);
ALTER TABLE vehicles ADD COLUMN IF NOT EXISTS image_storage_key VARCHAR(500);
ALTER TABLE vehicles ADD COLUMN IF NOT EXISTS image_file_name VARCHAR(255);
ALTER TABLE vehicles ADD COLUMN IF NOT EXISTS image_content_type VARCHAR(100);
ALTER TABLE vehicles ADD COLUMN IF NOT EXISTS image_file_size INTEGER;

COMMENT ON COLUMN vehicles.image_storage_bucket IS 'Storage bucket for vehicle image';
COMMENT ON COLUMN vehicles.image_storage_key IS 'Storage key path for vehicle image file';
COMMENT ON COLUMN vehicles.image_file_name IS 'Original filename of uploaded image';
COMMENT ON COLUMN vehicles.image_content_type IS 'MIME type of vehicle image';
COMMENT ON COLUMN vehicles.image_file_size IS 'Size of vehicle image in bytes';
