nordabiz/database/migrations/085_event_attachments.sql
Maciej Pienczyn 9bb2659ffd
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
feat(calendar): add dynamic organizer to event ICS exports
Adds organizer_name and organizer_email columns to NordaEvent with
defaults (Norda Biznes). ICS calendar exports now use per-event
organizer instead of hardcoded value.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 17:29:37 +01:00

9 lines
510 B
SQL

-- Migration: 085_event_attachments.sql
-- Description: Add attachment and organizer fields to norda_events
-- Date: 2026-03-18
ALTER TABLE norda_events ADD COLUMN IF NOT EXISTS attachment_filename VARCHAR(255);
ALTER TABLE norda_events ADD COLUMN IF NOT EXISTS attachment_path VARCHAR(1000);
ALTER TABLE norda_events ADD COLUMN IF NOT EXISTS organizer_name VARCHAR(255) DEFAULT 'Norda Biznes';
ALTER TABLE norda_events ADD COLUMN IF NOT EXISTS organizer_email VARCHAR(255) DEFAULT 'biuro@norda-biznes.info';