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:
@@ -0,0 +1,36 @@
|
||||
CREATE TABLE [dbo].[mfr__servicerequests] (
|
||||
[Id] BIGINT NOT NULL,
|
||||
[Name] NVARCHAR (255) NULL,
|
||||
[ExternalId] NVARCHAR (255) NULL,
|
||||
[InvoiceId] NVARCHAR (255) NULL,
|
||||
[ClosedAt] DATETIME NULL,
|
||||
[ReleasedAt] DATETIME NULL,
|
||||
[WorkDoneAt] DATETIME NULL,
|
||||
[TargetTimeInMinutes] BIGINT NOT NULL,
|
||||
[DateModified] DATETIME NULL,
|
||||
[DateOfCreation] DATETIME NULL,
|
||||
[DueDateRangeStart] DATETIME NULL,
|
||||
[DueDateRangeEnd] DATETIME NULL,
|
||||
[PortalLink] NVARCHAR (255) NULL,
|
||||
[CostCenterId] BIGINT NULL,
|
||||
[Description] NVARCHAR (MAX) NULL,
|
||||
[State] VARCHAR (100) NULL,
|
||||
[CustomValues] NVARCHAR (MAX) NOT NULL,
|
||||
[CurrentOwnerId] BIGINT NULL,
|
||||
[CustomerId] BIGINT NULL,
|
||||
[ParentServiceRequestId] BIGINT NULL,
|
||||
[Location#ID] BIGINT NULL,
|
||||
[Version] INT NOT NULL,
|
||||
[IsTemplate] BIT NOT NULL,
|
||||
[IsTemplateMobile] BIT NOT NULL,
|
||||
[CreateFromServiceRequestTemplateId] BIGINT NOT NULL,
|
||||
[Type] NVARCHAR (255) NULL,
|
||||
CONSTRAINT [PK_mfr__servicerequest] PRIMARY KEY CLUSTERED ([Id] ASC)
|
||||
);
|
||||
|
||||
|
||||
GO
|
||||
CREATE NONCLUSTERED INDEX [mfr__servicerequests__ix1]
|
||||
ON [dbo].[mfr__servicerequests]([InvoiceId] ASC)
|
||||
INCLUDE([Name], [DateOfCreation], [CustomerId]);
|
||||
|
||||
Reference in New Issue
Block a user