release: add post-production workspace 0.9.0

This commit is contained in:
hnzio committed 2026-10-30 17:33:13 +01:00
1 parent abc31d920f
commit a6c8606f3c
46 files changed
+10783 -3415

No files matched your search

+28 -1
View File
@@ -296,6 +296,17 @@ export function seed(databasePath = getPaths().database) {
1,
timestamp,
timestamp
],
[
'show-completed-demo',
'Frühere Sendung: Linux, Spiele und Netzkultur',
'2026-10-09T18:00:00.000Z',
'Linux, Spiele und Netzkultur | heinzlive',
'Eine abgeschlossene Beispielsendung für die Postproduktion.',
'completed',
1,
timestamp,
timestamp
]
]
);
@@ -320,7 +331,8 @@ export function seed(databasePath = getPaths().database) {
['games-first', 'show-games-evening', 'Spiel 1', 'cat-game', 1, 2700, 0],
['games-chat', 'show-games-evening', 'Pause & Chat', 'cat-jc', 2, 600, 0],
['games-second', 'show-games-evening', 'Spiel 2', 'cat-game', 3, 2700, 0],
['reserve-bank-show-games-evening', 'show-games-evening', 'Reservebank', null, 4, null, 1]
['reserve-bank-show-games-evening', 'show-games-evening', 'Reservebank', null, 4, null, 1],
['reserve-bank-show-completed-demo', 'show-completed-demo', 'Reservebank', null, 0, null, 1]
]
);
@@ -447,6 +459,21 @@ export function seed(databasePath = getPaths().database) {
)`
)
.run();
const hasCompletionSchema = database
.prepare("SELECT 1 FROM pragma_table_info('shows') WHERE name = 'completed_at_utc'")
.get();
if (hasCompletionSchema) {
database
.prepare("UPDATE shows SET completed_at_utc = ? WHERE id = 'show-completed-demo'")
.run('2026-10-10T00:00:00.000Z');
database
.prepare(
`INSERT OR IGNORE INTO show_finalizations
(show_id, command_id, source_revision, finalized_by_user_id, finalized_at_utc)
VALUES ('show-completed-demo', 'seed-completed-demo', 1, NULL, ?)`
)
.run('2026-10-10T00:00:00.000Z');
}
});
seedDatabase();