Added pre-deployment support.

This commit is contained in:
Stuart Rowlands
2024-02-08 20:02:30 +10:00
parent 77a0179822
commit 0538c2f478
4 changed files with 41 additions and 2 deletions

View File

@@ -14,6 +14,8 @@ return new class extends Migration
Schema::table('applications', function (Blueprint $table) {
$table->string('post_deployment_command')->nullable();
$table->string('post_deployment_command_container')->nullable();
$table->string('pre_deployment_command')->nullable();
$table->string('pre_deployment_command_container')->nullable();
});
}
@@ -25,6 +27,8 @@ return new class extends Migration
Schema::table('applications', function (Blueprint $table) {
$table->dropColumn('post_deployment_command');
$table->dropColumn('post_deployment_command_container');
$table->dropColumn('pre_deployment_command');
$table->dropColumn('pre_deployment_command_container');
});
}
};