Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
public function up(): void
{
// Disable triggers temporarily
DB::statement('ALTER TABLE build2test DISABLE TRIGGER ALL');
DB::statement('ALTER TABLE testoutput DISABLE TRIGGER ALL');
DB::statement('ALTER TABLE build2test DISABLE TRIGGER USER');
DB::statement('ALTER TABLE testoutput DISABLE TRIGGER USER');

// Dynamically find and drop all indexes on testoutput EXCEPT the primary key
DB::statement("
Expand Down Expand Up @@ -52,8 +52,8 @@ public function up(): void
DB::statement('CREATE INDEX ON testoutput USING hash (output)');

// Re-enable triggers
DB::statement('ALTER TABLE build2test ENABLE TRIGGER ALL');
DB::statement('ALTER TABLE testoutput ENABLE TRIGGER ALL');
DB::statement('ALTER TABLE build2test ENABLE TRIGGER USER');
DB::statement('ALTER TABLE testoutput ENABLE TRIGGER USER');
}

public function down(): void
Expand Down