feat: alchemy
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('wallet_mnemonics', function (Blueprint $table) {
|
||||
$table->boolean('discovery_complete')->default(false)->after('mnemonic_enc');
|
||||
$table->timestamp('discovered_at')->nullable()->after('discovery_complete');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('wallet_mnemonics', function (Blueprint $table) {
|
||||
$table->dropColumn(['discovery_complete', 'discovered_at']);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user