-- name: CreateCalendarSubscription :one
INSERT INTO calendar_subscriptions (id, calendar_id, source_url)
VALUES ($1, $2, $3)
RETURNING *;

-- name: GetSubscriptionByCalendar :one
SELECT * FROM calendar_subscriptions
WHERE calendar_id = $1;
