mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 20:49:32 +00:00
chore: Remove unused migration file for populating SSH keys and clearing mux directory
This commit is contained in:
@@ -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);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user