feat: adjust sql/services.sql

This commit is contained in:
dancingCycle 2023-11-22 15:37:14 +01:00
parent 7a7be30523
commit da2e41abb2
1 changed files with 1 additions and 2 deletions

View File

@ -10,6 +10,5 @@ CREATE TABLE IF NOT EXISTS :schema.services
(
service_id text NOT NULL,
dates text,
CONSTRAINT services_service_id_fkey FOREIGN KEY (service_id) REFERENCES :schema.calendar(service_id)
CONSTRAINT services_service_id_fkey FOREIGN KEY (feed_index, service_id) REFERENCES :schema.calendar(feed_index, service_id)
);