NobGit
public imalexnord read

Slot

Calendar-first scheduling powered by Cloudflare Workers and Google Calendar.

Languages

Repository composition by tracked source files.

TypeScript
TypeScript 79% CSS 19% SQL 2% HTML 0%
Create file Wiki Documentation
Clone
https://nobgit.com/user/imalexnord/slot.git
ssh://[email protected]:2222/user/imalexnord/slot.git

Trace

migrations/0006_public_booking_cancellation.sql

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

0006_public_booking_cancellation.sql on main
Author Date Commit Line Code
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1
ALTER TABLE bookings ADD COLUMN public_booking_id TEXT;
Open commit View diff
1 ALTER TABLE bookings ADD COLUMN public_booking_id TEXT;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2
Open commit View diff
2
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
3
-- Give existing bookings a stable public reference without exposing the full
Open commit View diff
3 -- Give existing bookings a stable public reference without exposing the full
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
4
-- internal UUID. Existing UUIDs are random, so the first 20 hexadecimal
Open commit View diff
4 -- internal UUID. Existing UUIDs are random, so the first 20 hexadecimal
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
5
-- characters still provide a high-entropy reference for migrated rows.
Open commit View diff
5 -- characters still provide a high-entropy reference for migrated rows.
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
6
UPDATE bookings
Open commit View diff
6 UPDATE bookings
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
7
SET public_booking_id =
Open commit View diff
7 SET public_booking_id =
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
8
  'SLT-' || upper(substr(replace(id, '-', ''), 1, 4)) || '-' ||
Open commit View diff
8 'SLT-' || upper(substr(replace(id, '-', ''), 1, 4)) || '-' ||
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
9
  upper(substr(replace(id, '-', ''), 5, 4)) || '-' ||
Open commit View diff
9 upper(substr(replace(id, '-', ''), 5, 4)) || '-' ||
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
10
  upper(substr(replace(id, '-', ''), 9, 4)) || '-' ||
Open commit View diff
10 upper(substr(replace(id, '-', ''), 9, 4)) || '-' ||
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
11
  upper(substr(replace(id, '-', ''), 13, 4)) || '-' ||
Open commit View diff
11 upper(substr(replace(id, '-', ''), 13, 4)) || '-' ||
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
12
  upper(substr(replace(id, '-', ''), 17, 4))
Open commit View diff
12 upper(substr(replace(id, '-', ''), 17, 4))
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
13
WHERE public_booking_id IS NULL;
Open commit View diff
13 WHERE public_booking_id IS NULL;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
14
Open commit View diff
14
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
15
CREATE UNIQUE INDEX IF NOT EXISTS idx_bookings_public_booking_id
Open commit View diff
15 CREATE UNIQUE INDEX IF NOT EXISTS idx_bookings_public_booking_id
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
16
  ON bookings(public_booking_id)
Open commit View diff
16 ON bookings(public_booking_id)
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
17
  WHERE public_booking_id IS NOT NULL;
Open commit View diff
17 WHERE public_booking_id IS NOT NULL;