diff --git a/database/migrations/2021_02_23_212657_make_sftp_port_unsigned_int.php b/database/migrations/2021_02_23_212657_make_sftp_port_unsigned_int.php new file mode 100644 index 00000000..580e07e4 --- /dev/null +++ b/database/migrations/2021_02_23_212657_make_sftp_port_unsigned_int.php @@ -0,0 +1,32 @@ +unsignedSmallInteger('daemonSFTP')->default(2022)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('nodes', function (Blueprint $table) { + $table->smallInteger('daemonSFTP')->default(2022)->change(); + }); + } +}