Create
Query
pilot.db
—
invoices
account_invites
accounts
applied_migrations
audit_log
availability
availability_exceptions
bookings
cards
invoices
magic_tokens
sessions
sqlite_sequence
students
trainer_settings
trainers
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Update row 16 in invoices
id
Primary key.
INTEGER
trainer_id
INTEGER NOT NULL
student_id
INTEGER NOT NULL
invoice_no
2026-0001
TEXT NOT NULL
category
lesson
TEXT NOT NULL
lines
[{"service":"Platzreifekurs","when":"2026-06-26","quantity":1,"unit":"Std","net_cents":20924,"vat_rate":19,"vat_cents":3976,"gross_cents":24900}]
TEXT NOT NULL
total_cents
INTEGER NOT NULL
status
cancelled
TEXT NOT NULL (default 'open'
issued_at
2026-06-26 14:05:28
TEXT NOT NULL (default datetime('now')
paid_at
NULL
TEXT
archived_at
TIMESTAMP
Update
Cancel