18 lines
749 B
SQL
18 lines
749 B
SQL
/*
|
|
Archive the current demand-generated OpenAI illustration set out of normal
|
|
reuse/display without deleting files or prompt history.
|
|
|
|
Run after 147_Phase22C_SafeIllustrationGenerationPolicy.sql has been applied.
|
|
The default target is the existing demand-generated library created before the
|
|
safe-generation policy. Narrow with @ProjectID, @BookID, or @ImportSessionID
|
|
when those source metadata fields are present on newer rows.
|
|
*/
|
|
|
|
EXEC dbo.IllustrationLibraryItem_ArchiveGeneratedSet
|
|
@ProjectID = NULL,
|
|
@BookID = NULL,
|
|
@ImportSessionID = NULL,
|
|
@CreatedBeforeUtc = '2026-08-18T23:59:59',
|
|
@StableCodePrefix = N'demand-',
|
|
@Reason = N'Archived pre-22C generated demand images before safer Story Intelligence import testing.';
|