environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->bigInteger('NO_ART')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->text('DUN14')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->string('DUN_PALETTE', 56)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->boolean('IS_STANDARD')->nullable()->comment('Oracle: NUMBER(1, 0)'); $table->bigInteger('TYPE_CARTON')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('COD_SOCIETE')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->decimal('LONGUEUR_COL', 16, 6)->nullable()->comment('Oracle: NUMBER(16, 6)'); $table->decimal('LARGEUR_COL', 16, 6)->nullable()->comment('Oracle: NUMBER(16, 6)'); $table->decimal('HAUTEUR_COL', 16, 6)->nullable()->comment('Oracle: NUMBER(16, 6)'); $table->bigInteger('PDS_NET_COL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('TARE_COL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('PDS_BRUT_COL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->integer('LONGUEUR_PAL')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->integer('LARGEUR_PAL')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->decimal('HAUTEUR_PAL', 16, 6)->nullable()->comment('Oracle: NUMBER(16, 6)'); $table->bigInteger('TARE_PAL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('PDS_NET_PAL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('PDS_BRUT_PAL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->smallInteger('NB_COLIS_COUCHE')->nullable()->comment('Oracle: NUMBER(3, 0)'); $table->smallInteger('NB_COUCHE_PALETTE')->nullable()->comment('Oracle: NUMBER(2, 0)'); $table->integer('NB_COLIS_PALETTE')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->bigInteger('NB_UVC_PALETTE')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('HAUTEUR_PAL_CHARG')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('UVERSION')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('COD_PCB')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('PDS_BRUT_COL_SUPPL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('PDS_BRUT_PAL_SUPPL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('NB_COLIS_COUCHE_DUN')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('NB_COUCHE_PALETTE_DUN')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('NB_COLIS_PALETTE_DUN')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->integer('HAUTEUR_PAL_VIDE')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->bigInteger('TARE_COL_SUPPL')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('HAUTEUR_PAL_CHARG_DUN')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('HAUTEUR_PAL_DUN')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->unsignedBigInteger('CONTENANT_INCO')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->bigInteger('SOC_REF_INCO')->nullable()->comment('Oracle: NUMBER(0, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }