Add Fuchs_Database SSDT project (schema source of truth)

Adds the SQL Server Data Tools project for the fuchs_fds database — tables,
table types, functions and stored procedures that the backend calls (e.g.
fds__getInvoice, fds__merge_bankingtransactions, fds__tt__bankingtransactions,
fds__admin_getReportCatalog, fis_* auth). Build/model caches (bin, obj,
*.dbmdl, *.jfm, *.user) are git-ignored.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 14:50:54 +02:00
parent 1376779224
commit 10ecdfa2e4
359 changed files with 22603 additions and 0 deletions
@@ -0,0 +1,36 @@
CREATE TABLE [dbo].[tmp__fds__bankingtransactions] (
[uid] BIGINT NOT NULL,
[taID] VARCHAR (10) NOT NULL,
[AccountIdentification] VARCHAR (50) NULL,
[ValueDate] DATE NULL,
[Amount] NUMERIC (9, 2) NULL,
[FundsCode] VARCHAR (1) NULL,
[AccountNumberOfPayer] VARCHAR (30) NULL,
[BankCodeOfPayer] VARCHAR (11) NULL,
[CompensationAmount] VARCHAR (50) NULL,
[CreditorReference] VARCHAR (30) NULL,
[CreditorsReferenceParty] VARCHAR (50) NULL,
[CustomerReference] VARCHAR (50) NULL,
[EndToEndReference] VARCHAR (50) NULL,
[JournalNumber] VARCHAR (10) NULL,
[MandateReference] VARCHAR (50) NULL,
[NameOfPayer] NVARCHAR (60) NULL,
[OriginalAmount] VARCHAR (150) NULL,
[OriginatorsIdentificationCode] VARCHAR (150) NULL,
[PayersReferenceParty] VARCHAR (150) NULL,
[PostingText] VARCHAR (30) NULL,
[SepaRemittanceInformation] VARCHAR (200) NULL,
[TextKeyAddition] INT NULL,
[TransactionCode] INT NULL,
[IsUnstructuredData] BIT NULL,
[UnstructuredData] NVARCHAR (390) NULL,
[UnstructuredRemittanceInformation] NVARCHAR (390) NULL,
[DebitCreditMark] VARCHAR (2) NULL,
[TransactionTypeIdCode] VARCHAR (3) NULL
);
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_tmp__fds__bankingtransactions]
ON [dbo].[tmp__fds__bankingtransactions]([taID] ASC);