chore: Remove unused migration file for populating SSH keys and clearing mux directory
This commit is contained in:
parent
7aab44645f
commit
e00ec2f75b
1 changed files with 0 additions and 25 deletions
|
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
|
||||
use App\Models\PrivateKey;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
|
||||
class PopulateSshKeysAndClearMuxDirectory extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
// Storage::disk('ssh-keys')->deleteDirectory('');
|
||||
// Storage::disk('ssh-keys')->makeDirectory('');
|
||||
|
||||
// Storage::disk('ssh-mux')->deleteDirectory('');
|
||||
// Storage::disk('ssh-mux')->makeDirectory('');
|
||||
// PrivateKey::chunk(100, function ($keys) {
|
||||
// foreach ($keys as $key) {
|
||||
// $key->storeInFileSystem();
|
||||
// if ($key->id === 0) {
|
||||
// Storage::disk('ssh-keys')->put('id.root@host.docker.internal', $key->private_key);
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue