1
0
mirror of https://github.com/bitwarden/server synced 2026-01-19 00:43:47 +00:00

Provider: Initial db structure (#1309)

* Initial db structure
This commit is contained in:
Oscar Hinton
2021-05-20 14:39:26 +02:00
committed by GitHub
parent c7f88ae430
commit 61307e11b0
30 changed files with 1414 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
CREATE TABLE [dbo].[Provider] (
[Id] UNIQUEIDENTIFIER NOT NULL,
[Name] NVARCHAR (50) NOT NULL,
[BusinessName] NVARCHAR (50) NULL,
[BusinessAddress1] NVARCHAR (50) NULL,
[BusinessAddress2] NVARCHAR (50) NULL,
[BusinessAddress3] NVARCHAR (50) NULL,
[BusinessCountry] VARCHAR (2) NULL,
[BusinessTaxNumber] NVARCHAR (30) NULL,
[BillingEmail] NVARCHAR (256) NOT NULL,
[Status] TINYINT NOT NULL,
[Enabled] BIT NOT NULL,
[CreationDate] DATETIME2 (7) NOT NULL,
[RevisionDate] DATETIME2 (7) NOT NULL,
CONSTRAINT [PK_Provider] PRIMARY KEY CLUSTERED ([Id] ASC)
);