Календарь

pull/3/head
Rustem 2025-02-08 23:27:03 +05:00
parent f7dce66a64
commit 09af5e8d54
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ return new class extends \A7kz\Platform\Commands\InstallScript {
$segments = Segment::listActive();
foreach ($segments as $segment) {
if (!Schema::connection($segment->connector)->hasTable('pipi_auto_calendar')) {
dd(123);
Schema::connection($segment->connector)->create('pipi_auto_calendar', static function (Blueprint $table) {
$table->id();
$table->string('auto_id')->nullable()->comment('Автомобиль');