mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-27 10:33:44 +02:00
Fix obtuse error when running tests about no transaction existing
This commit is contained in:
@@ -11,13 +11,11 @@ class DeleteServiceExecutableOption extends Migration
|
|||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
DB::transaction(function () {
|
Schema::table('services', function (Blueprint $table) {
|
||||||
Schema::table('services', function (Blueprint $table) {
|
$table->renameColumn('file', 'folder');
|
||||||
$table->renameColumn('file', 'folder');
|
$table->dropColumn('executable');
|
||||||
$table->dropColumn('executable');
|
$table->text('description')->nullable()->change();
|
||||||
$table->text('description')->nullable()->change();
|
$table->text('startup')->nullable()->change();
|
||||||
$table->text('startup')->nullable()->change();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user