Create
Query
pilot.db
—
invoices
account_invites
accounts
applied_migrations
audit_log
availability
availability_exceptions
bookings
campaign_leads
campaign_offers
campaigns
cards
commission_rates
commission_runs
drills_library
invoices
magic_tokens
offers
practice_logs
quotes
saas_invoices
service_student_prices
services
sessions
sqlite_sequence
student_summaries
students
subscription_events
trainer_settings
trainers
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Update row 1 in invoices
id
Primary key.
INTEGER
trainer_id
INTEGER NOT NULL
student_id
INTEGER NOT NULL
invoice_no
R-2026-0001
TEXT NOT NULL
category
card_purchase
TEXT NOT NULL
lines
[{"label":"Zehnerkarte","quantity":1,"unit_price_cents":49900,"total_cents":49900}]
TEXT NOT NULL
total_cents
INTEGER NOT NULL
status
paid
TEXT NOT NULL (default 'open'
issued_at
2026-07-22 16:12:21
TEXT NOT NULL (default datetime('now')
paid_at
2026-07-24 08:42:40
TEXT
archived_at
TIMESTAMP
reminder1_at
NULL
TEXT
reminder2_at
NULL
TEXT
Update
Cancel