Календарь
parent
f7dce66a64
commit
09af5e8d54
|
|
@ -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('Автомобиль');
|
||||
|
|
|
|||
Loading…
Reference in New Issue