Steuerkram/migrations/029_assets_anlageart.sql

6 lines
271 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- Migration 029: Anlageart (Kontonummer) zu assets hinzufügen
ALTER TABLE assets
ADD COLUMN account_id INT UNSIGNED NULL
COMMENT 'FK auf accounts – Anlagevermögenskonto (Anlageart)'
AFTER bezeichnung,
ADD KEY idx_assets_account (account_id);