Add identifier column to plugins table for cleaner plugin lookup

- Added 'identifier' column (unique) for machine-readable plugin ID
- 'name' now used for display name only
- Updated trial-execution to look up by identifier first, then name
- Added migration script for existing databases
This commit is contained in:
2026-03-21 20:03:33 -04:00
parent e84c794962
commit 4e86546311
7 changed files with 4539 additions and 12 deletions

View File

@@ -159,6 +159,7 @@ async function main() {
.insert(schema.plugins)
.values({
robotId: naoRobot!.id,
identifier: NAO_PLUGIN_DEF.robotId,
name: NAO_PLUGIN_DEF.name,
version: NAO_PLUGIN_DEF.version,
description: NAO_PLUGIN_DEF.description,