From 5328cfd7601bff48b81cc440374e7e30e445d65d Mon Sep 17 00:00:00 2001 From: VinGal <45609819+VinGal0@users.noreply.github.com> Date: Tue, 23 Feb 2021 01:13:46 +0000 Subject: [PATCH] 2021_02_23_161404_UpdateDaemonSftp.php Migration File for DaemonSFTP --- .../2021_02_23_161404_UpdateDaemonSftp.php" | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 "database/migrations/unsignedSmallInteger('daemonSFTP')->default(2022)->change(); }); }/2021_02_23_161404_UpdateDaemonSftp.php" diff --git "a/database/migrations/unsignedSmallInteger('daemonSFTP')->default(2022)->change(); }); }/2021_02_23_161404_UpdateDaemonSftp.php" "b/database/migrations/unsignedSmallInteger('daemonSFTP')->default(2022)->change(); }); }/2021_02_23_161404_UpdateDaemonSftp.php" new file mode 100644 index 000000000..95d74f102 --- /dev/null +++ "b/database/migrations/unsignedSmallInteger('daemonSFTP')->default(2022)->change(); }); }/2021_02_23_161404_UpdateDaemonSftp.php" @@ -0,0 +1,33 @@ +unsignedSmallInteger('daemonSFTP')->default(2022)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('nodes', function (Blueprint $table) { + $table->smallInteger('daemonSFTP')->default(2022); + }); + } +}