update bug daashboards
This commit is contained in:
15
vendor/knuckleswtf/scribe/src/Exceptions/DatabaseTransactionsNotSupported.php
vendored
Normal file
15
vendor/knuckleswtf/scribe/src/Exceptions/DatabaseTransactionsNotSupported.php
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Knuckles\Scribe\Exceptions;
|
||||
|
||||
class DatabaseTransactionsNotSupported extends \RuntimeException implements ScribeException
|
||||
{
|
||||
public static function create(string $connectionName, string $driverName)
|
||||
{
|
||||
return new self(
|
||||
"Database driver [{$driverName}] for connection [{$connectionName}] does not support transactions."
|
||||
." To allow Scribe to proceed, remove \"{$connectionName}\" from the \"database_connections_to_transact\" config array."
|
||||
.' Note that any changes to your database will be persisted.'
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user