mirror of https://github.com/pixelfed/pixelfed
commit
0ccd30b032
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
class AddUuidsToFailedJobsTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table('failed_jobs', function (Blueprint $table) {
|
||||||
|
$table->string('uuid')->after('id')->nullable()->unique();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::table('failed_jobs', function (Blueprint $table) {
|
||||||
|
$table->dropColumn('uuid');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
class AddProvidersColumnToOauthClientsTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table('oauth_clients', function (Blueprint $table) {
|
||||||
|
$table->string('provider')->after('secret')->nullable();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::table('oauth_clients', function (Blueprint $table) {
|
||||||
|
$table->dropColumn('provider');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
@ -1,32 +1,33 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit backupGlobals="false"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
backupStaticAttributes="false"
|
backupGlobals="false"
|
||||||
bootstrap="vendor/autoload.php"
|
backupStaticAttributes="false"
|
||||||
colors="true"
|
bootstrap="vendor/autoload.php"
|
||||||
convertErrorsToExceptions="true"
|
colors="true"
|
||||||
convertNoticesToExceptions="true"
|
convertErrorsToExceptions="true"
|
||||||
convertWarningsToExceptions="true"
|
convertNoticesToExceptions="true"
|
||||||
processIsolation="false"
|
convertWarningsToExceptions="true"
|
||||||
stopOnFailure="false">
|
processIsolation="false"
|
||||||
<testsuites>
|
stopOnFailure="false"
|
||||||
<testsuite name="Feature">
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||||
<directory suffix="Test.php">./tests/Feature</directory>
|
<coverage processUncoveredFiles="true">
|
||||||
</testsuite>
|
<include>
|
||||||
|
<directory suffix=".php">./app</directory>
|
||||||
<testsuite name="Unit">
|
</include>
|
||||||
<directory suffix="Test.php">./tests/Unit</directory>
|
</coverage>
|
||||||
</testsuite>
|
<testsuites>
|
||||||
</testsuites>
|
<testsuite name="Feature">
|
||||||
<filter>
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
</testsuite>
|
||||||
<directory suffix=".php">./app</directory>
|
<testsuite name="Unit">
|
||||||
</whitelist>
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
</filter>
|
</testsuite>
|
||||||
<php>
|
</testsuites>
|
||||||
<env name="APP_ENV" value="testing"/>
|
<php>
|
||||||
<env name="CACHE_DRIVER" value="array"/>
|
<env name="APP_ENV" value="testing"/>
|
||||||
<env name="SESSION_DRIVER" value="array"/>
|
<env name="CACHE_DRIVER" value="array"/>
|
||||||
<env name="QUEUE_DRIVER" value="sync"/>
|
<env name="SESSION_DRIVER" value="array"/>
|
||||||
<env name="MAIL_DRIVER" value="array"/>
|
<env name="QUEUE_DRIVER" value="sync"/>
|
||||||
</php>
|
<env name="MAIL_DRIVER" value="array"/>
|
||||||
|
</php>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
Loading…
Reference in New Issue