Files
bm/public_html/migration/01_no_reservation.sql
2025-09-24 13:26:28 +02:00

8 lines
319 B
SQL

INSERT INTO bm.events (title, image, start_date, end_date, text, payableWithCulturecard, reservation_id)
SELECT name as title, thumb, startDate as start_date, endDate as end_date, "", 0, 1
FROM old.bruckm_ticketevent WHERE reservationType = 'none' AND startDate != 0000-00-00 AND endDate != 0000-00-00;