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/0002_cancellation_and_availability_blocks.sql

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

0002_cancellation_and_availability_blocks.sql on main
Author Date Commit Line Code
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1
ALTER TABLE bookings ADD COLUMN cancelled_at TEXT;
Open commit View diff
1 ALTER TABLE bookings ADD COLUMN cancelled_at TEXT;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2
ALTER TABLE bookings ADD COLUMN updated_at TEXT;
Open commit View diff
2 ALTER TABLE bookings ADD COLUMN updated_at TEXT;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
3
ALTER TABLE bookings ADD COLUMN calendar_provider TEXT NOT NULL DEFAULT 'google';
Open commit View diff
3 ALTER TABLE bookings ADD COLUMN calendar_provider TEXT NOT NULL DEFAULT 'google';
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
4
ALTER TABLE bookings ADD COLUMN calendar_sync_status TEXT NOT NULL DEFAULT 'synced';
Open commit View diff
4 ALTER TABLE bookings ADD COLUMN calendar_sync_status TEXT NOT NULL DEFAULT 'synced';
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
5
ALTER TABLE bookings ADD COLUMN calendar_sync_error TEXT;
Open commit View diff
5 ALTER TABLE bookings ADD COLUMN calendar_sync_error TEXT;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
6
ALTER TABLE bookings ADD COLUMN calendar_sync_updated_at TEXT;
Open commit View diff
6 ALTER TABLE bookings ADD COLUMN calendar_sync_updated_at TEXT;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
7
Open commit View diff
7
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
8
CREATE TABLE IF NOT EXISTS recurring_unavailable_periods (
Open commit View diff
8 CREATE TABLE IF NOT EXISTS recurring_unavailable_periods (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
9
  id TEXT PRIMARY KEY,
Open commit View diff
9 id TEXT PRIMARY KEY,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
10
  weekdays TEXT NOT NULL,
Open commit View diff
10 weekdays TEXT NOT NULL,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
11
  start_time TEXT NOT NULL,
Open commit View diff
11 start_time TEXT NOT NULL,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
12
  end_time TEXT NOT NULL,
Open commit View diff
12 end_time TEXT NOT NULL,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
13
  label TEXT,
Open commit View diff
13 label TEXT,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
14
  created_at TEXT NOT NULL DEFAULT (datetime('now')),
Open commit View diff
14 created_at TEXT NOT NULL DEFAULT (datetime('now')),
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
15
  updated_at TEXT NOT NULL DEFAULT (datetime('now'))
Open commit View diff
15 updated_at TEXT NOT NULL DEFAULT (datetime('now'))
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
16
);
Open commit View diff
16 );
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
17
Open commit View diff
17
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
18
CREATE TABLE IF NOT EXISTS availability_blocks (
Open commit View diff
18 CREATE TABLE IF NOT EXISTS availability_blocks (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
19
  id TEXT PRIMARY KEY,
Open commit View diff
19 id TEXT PRIMARY KEY,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
20
  date TEXT NOT NULL,
Open commit View diff
20 date TEXT NOT NULL,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
21
  start_time TEXT,
Open commit View diff
21 start_time TEXT,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
22
  end_time TEXT,
Open commit View diff
22 end_time TEXT,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
23
  all_day INTEGER NOT NULL DEFAULT 0,
Open commit View diff
23 all_day INTEGER NOT NULL DEFAULT 0,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
24
  label TEXT,
Open commit View diff
24 label TEXT,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
25
  created_at TEXT NOT NULL DEFAULT (datetime('now')),
Open commit View diff
25 created_at TEXT NOT NULL DEFAULT (datetime('now')),
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
26
  updated_at TEXT NOT NULL DEFAULT (datetime('now'))
Open commit View diff
26 updated_at TEXT NOT NULL DEFAULT (datetime('now'))
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
27
);
Open commit View diff
27 );
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
28
Open commit View diff
28
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
29
CREATE INDEX IF NOT EXISTS idx_recurring_unavailable_periods_weekdays ON recurring_unavailable_periods(weekdays);
Open commit View diff
29 CREATE INDEX IF NOT EXISTS idx_recurring_unavailable_periods_weekdays ON recurring_unavailable_periods(weekdays);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
30
CREATE INDEX IF NOT EXISTS idx_availability_blocks_date ON availability_blocks(date);
Open commit View diff
30 CREATE INDEX IF NOT EXISTS idx_availability_blocks_date ON availability_blocks(date);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
31
CREATE INDEX IF NOT EXISTS idx_bookings_sync_status ON bookings(calendar_sync_status);
Open commit View diff
31 CREATE INDEX IF NOT EXISTS idx_bookings_sync_status ON bookings(calendar_sync_status);