public
imalexnord
read
Slot
Calendar-first scheduling powered by Cloudflare Workers and Google Calendar.
Languages
Repository composition by tracked source files.
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/0003_stripe_payments.sql
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
ALTER TABLE bookings ADD COLUMN payment_status TEXT NOT NULL DEFAULT 'not_requested';
2
ALTER TABLE bookings ADD COLUMN payment_amount INTEGER;
3
ALTER TABLE bookings ADD COLUMN payment_currency TEXT;
4
ALTER TABLE bookings ADD COLUMN stripe_checkout_session_id TEXT;
5
ALTER TABLE bookings ADD COLUMN stripe_payment_intent_id TEXT;
6
ALTER TABLE bookings ADD COLUMN paid_at TEXT;
8
CREATE INDEX IF NOT EXISTS idx_bookings_payment_status ON bookings(payment_status);
9
CREATE UNIQUE INDEX IF NOT EXISTS idx_bookings_stripe_checkout_session_id
10
ON bookings(stripe_checkout_session_id)
11
WHERE stripe_checkout_session_id IS NOT NULL;