deposit
parent
a46dc1ec01
commit
b0ea436307
|
|
@ -25,7 +25,7 @@ return new class extends \A7kz\Platform\Commands\InstallScript {
|
||||||
{
|
{
|
||||||
$segments = Segment::listActive();
|
$segments = Segment::listActive();
|
||||||
foreach ($segments as $segment) {
|
foreach ($segments as $segment) {
|
||||||
if (!Schema::connection($segment->connector)->hasTable('pipi_auto_colors')) {
|
if (!Schema::connection($segment->connector)->hasTable('pipi_address')) {
|
||||||
Schema::connection($segment->connector)->create('pipi_address', static function (Blueprint $table) {
|
Schema::connection($segment->connector)->create('pipi_address', static function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->string('name')->nullable()->comment('Наименование');
|
$table->string('name')->nullable()->comment('Наименование');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue