diff --git a/db/migrations/20250519152455_device_add_check_backups.php b/db/migrations/20250519152455_device_add_check_backups.php new file mode 100644 index 000000000..3a8419bba --- /dev/null +++ b/db/migrations/20250519152455_device_add_check_backups.php @@ -0,0 +1,33 @@ +getEnvironment() == "thetool") { + $table = $this->table("Device"); + $table->addColumn("backup_check", "integer", [ "default" => 1, "after" => "autobackup"]); + $table->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } + + public function down(): void + { + if($this->getEnvironment() == "thetool") { + $table = $this->table('Pop'); + $table->removeColumn("backup_check"); + $table->update(); + } + + if($this->getEnvironment() == "addressdb") { + + } + } +}