Files
Stefan 10ecdfa2e4 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>
2026-06-05 14:50:54 +02:00

18 lines
813 B
Transact-SQL

CREATE TABLE [dbo].[mfr__timeevents] (
[Id] BIGINT NOT NULL,
[Version] INT NOT NULL,
[State] NVARCHAR (255) NULL,
[IsApproved] BIT NOT NULL,
[TimeEventType] NVARCHAR (255) NULL,
[ExternalId] NVARCHAR (255) NULL,
[DateModified] DATETIME NOT NULL,
[StartDateTime] DATETIME NOT NULL,
[EndDateTime] DATETIME NOT NULL,
[ProposedDrivingDistance] INT NOT NULL,
[ContactId] BIGINT NOT NULL,
[ServiceRequestId] BIGINT NOT NULL,
[Description] NVARCHAR (MAX) NULL,
CONSTRAINT [PK_mfr__timeevent] PRIMARY KEY CLUSTERED ([Id] ASC)
);