Added dynamic adding and loading of results on the test page

This commit is contained in:
2025-06-25 17:14:19 -04:00
parent fad6899683
commit 1b4fd8dec9
6 changed files with 112 additions and 20 deletions

View File

@ -12,10 +12,8 @@ final class AddResultsTable extends AbstractMigration {
->addColumn('minimum', 'integer')
->addColumn('maximum', 'integer')
->addColumn('test_id', 'integer', ['null' => false])
->addColumn('component_id', 'integer', ['null' => false])
->addColumn('benchmark_id', 'integer', ['null' => false])
->addForeignKey('test_id', 'tests', 'id', ['delete'=> 'CASCADE', 'update'=> 'CASCADE'])
->addForeignKey('component_id', 'components', 'id', ['delete'=> 'CASCADE', 'update'=> 'CASCADE'])
->addForeignKey('benchmark_id', 'benchmarks', 'id', ['delete'=> 'CASCADE', 'update'=> 'CASCADE'])
->addTimestamps()
->create();