Start of Datenbank
This commit is contained in:
22
KiKunstDatenbank/dpo/Tables/BildInfo.sql
Normal file
22
KiKunstDatenbank/dpo/Tables/BildInfo.sql
Normal file
@ -0,0 +1,22 @@
|
||||
CREATE TABLE [dbo].[BildInfo]
|
||||
(
|
||||
[Id] INT NOT NULL PRIMARY KEY IDENTITY,
|
||||
[BildPrompt] NVARCHAR(MAX) NOT NULL,
|
||||
[Wunsch] NVARCHAR(1024) NOT NULL,
|
||||
[BildBeschreibung] NVARCHAR(MAX) NOT NULL,
|
||||
[Datum] DATETIME2 NOT NULL,
|
||||
[Dateiname] NCHAR(256) NOT NULL,
|
||||
[GPTModel] NCHAR(32) NOT NULL,
|
||||
[ImageModel] NCHAR(32) NOT NULL,
|
||||
[GroupIndex] INT NOT NULL
|
||||
)
|
||||
|
||||
GO
|
||||
EXEC sp_addextendedproperty @name = N'MS_Description',
|
||||
@value = N'Index der Gruppe, in der dieses Bild generiert wurde und so.',
|
||||
@level0type = N'SCHEMA',
|
||||
@level0name = N'dbo',
|
||||
@level1type = N'TABLE',
|
||||
@level1name = N'BildInfo',
|
||||
@level2type = N'COLUMN',
|
||||
@level2name = 'GroupIndex'
|
||||
Reference in New Issue
Block a user