Fix HTML rendering for service descriptions, allow zero price for services, improve image_url handling

This commit is contained in:
2026-02-01 22:31:00 -06:00
parent d3cad0e5fa
commit 72f17c8be9
32 changed files with 6958 additions and 414 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
# Drop check constraints on services and products tables
# Run with: sudo ./drop_price_constraints.sh
sudo -u postgres psql -d prompttech << 'SQL'
ALTER TABLE services DROP CONSTRAINT IF EXISTS chk_services_price_positive;
ALTER TABLE products DROP CONSTRAINT IF EXISTS chk_products_price_positive;
\echo 'Constraints dropped successfully'
SQL