feat: alchemy

This commit is contained in:
hashbro
2026-09-29 05:25:55 +08:00
parent 2c87d37051
commit 15c45a4fd2
14 changed files with 871 additions and 24 deletions
@@ -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']);
});
}
};