Enable full setup on the setup form

This commit is contained in:
2023-07-05 22:42:59 +10:00
parent 6f298d778f
commit c3d4c1fc31
8 changed files with 89 additions and 88 deletions

View File

@@ -13,6 +13,11 @@ return new class extends Migration
{
Schema::table('setups',function (Blueprint $table) {
$table->jsonb('servers')->nullable();
$table->dropColumn(['binkp','zmodem','permissions','protocols','options','emsi_protocols']);
});
Schema::table('setups',function (Blueprint $table) {
$table->jsonb('options')->nullable();
});
}
@@ -21,8 +26,17 @@ return new class extends Migration
*/
public function down(): void
{
Schema::table('setups',function (Blueprint $table) {
$table->dropColumn(['options']);
});
Schema::table('setups',function (Blueprint $table) {
$table->dropColumn(['servers']);
$table->integer('binkp')->nullable();
$table->integer('zmodem')->nullable();
$table->integer('permissions')->nullable();
$table->integer('protocols')->nullable();
$table->integer('emsi_protocols')->nullable();
$table->integer('options')->nullable();
});
}
};