Files
Fuchs_Intranet/Fuchs_Database/dbo/Tables/fis_useraccounts.sql
T
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

22 lines
1.1 KiB
Transact-SQL

CREATE TABLE [dbo].[fis_useraccounts] (
[useraccount_id] VARCHAR (5) NOT NULL,
[name_enc] VARBINARY (260) NOT NULL,
[firstname_enc] VARBINARY (260) NULL,
[title_enc] VARBINARY (120) NULL,
[gender_enc] VARBINARY (100) NULL,
[email_enc] VARBINARY (350) NOT NULL,
[mobile_enc] VARBINARY (120) NULL,
[password_enc] VARBINARY (100) NOT NULL,
[language] VARCHAR (2) CONSTRAINT [DF_fis_useraccounts_language] DEFAULT ('de') NULL,
[UserDisabled] VARCHAR (36) NULL,
[DateDisabled] DATETIME NULL,
[UserCreated] VARCHAR (36) NOT NULL,
[DateCreated] DATETIME CONSTRAINT [DF_fis_useraccounts_DateCreated] DEFAULT (getutcdate()) NOT NULL,
[UserModified] VARCHAR (36) NULL,
[DateModified] DATETIME CONSTRAINT [DF_fis_useraccounts_DateModified] DEFAULT (getutcdate()) NOT NULL,
[UserDeleted] VARCHAR (36) NULL,
[DateDeleted] DATETIME NULL,
CONSTRAINT [PK_fis_useraccounts] PRIMARY KEY CLUSTERED ([useraccount_id] ASC)
);