OPC # 0006: OPC Git Trunk-Based management
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -163,4 +163,10 @@ await using (var cmd = ds.CreateCommand("""
|
||||
"""))
|
||||
await cmd.ExecuteNonQueryAsync();
|
||||
|
||||
// Idempotent column additions for schema migrations
|
||||
await using (var migCmd = ds.CreateCommand("""
|
||||
ALTER TABLE release_record ADD COLUMN IF NOT EXISTS opc_numbers TEXT[] NOT NULL DEFAULT '{}';
|
||||
"""))
|
||||
await migCmd.ExecuteNonQueryAsync();
|
||||
|
||||
app.Run();
|
||||
|
||||
Reference in New Issue
Block a user