Fix obtuse error when running tests about no transaction existing

This commit is contained in:
Dane Everitt
2021-01-21 22:07:19 -08:00
parent 33400b1564
commit 44002e4c01

View File

@@ -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();
});
}); });
} }