Added dynamic adding and loading of results on the test page
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user