22 lines
693 B
Transact-SQL
22 lines
693 B
Transact-SQL
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' |