Handle lastSeen column and all the discontinued items. #36

Merged
krzysiej merged 1 commits from feature/fix-discontinued-counter into master 2026-01-10 09:22:27 +01:00

View File

@@ -123,7 +123,7 @@ class Migrate extends Command
if (!Capsule::schema()->hasColumn('products', 'lastSeen')) {
Capsule::schema()->table('products', function (Blueprint $table) {
$table->date('last_seen')->nullable();
$table->date('lastSeen')->nullable();
});
}
}