Fix tests

pull/7114/head
Daniel Supernault 2 weeks ago
parent 7376a007a5
commit 1281fa3751
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -10,6 +10,10 @@ return new class extends Migration
*/
public function up(): void
{
if (DB::getDriverName() === 'sqlite') {
return;
}
DB::statement('
ALTER TABLE `notifications`
ADD INDEX `notifications_profile_deleted_id_index`
@ -21,6 +25,10 @@ return new class extends Migration
public function down(): void
{
if (DB::getDriverName() === 'sqlite') {
return;
}
DB::statement('
ALTER TABLE `notifications`
DROP INDEX `notifications_profile_deleted_id_index`,

@ -7,6 +7,10 @@ return new class extends Migration
{
public function up(): void
{
if (DB::getDriverName() === 'sqlite') {
return;
}
DB::statement('
ALTER TABLE `media`
ADD INDEX `media_unoptimized_recent_index`
@ -18,6 +22,10 @@ return new class extends Migration
public function down(): void
{
if (DB::getDriverName() === 'sqlite') {
return;
}
DB::statement('
ALTER TABLE `media`
DROP INDEX `media_unoptimized_recent_index`,

Loading…
Cancel
Save