-- Migration 030: asset_id in bookings – Verknüpfung zur Anlagegut-Tabelle ALTER TABLE bookings ADD COLUMN asset_id INT UNSIGNED NULL COMMENT 'FK auf assets – bei Buchungen auf Anlagevermögenskonten' AFTER beleg_id, ADD KEY idx_bookings_asset (asset_id);