Fixed some things with the test add functions

This commit is contained in:
Gregory Ballantine
2024-06-03 09:43:33 -04:00
parent 6079524c4e
commit de8e523c2c
4 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ final class AddTestsTable extends AbstractMigration {
->addTimestamps()
->create();
$table = $this->table('tests_benchmarks');
$table = $this->table('test_benchmark');
$table->addColumn('test_id', 'integer', ['null' => false])
->addColumn('benchmark_id', 'integer', ['null' => false])
->addForeignKey('test_id', 'tests', 'id', ['delete'=> 'CASCADE', 'update'=> 'CASCADE'])