environment('local', 'testing')) { $schema->dropIfExists(self::name()); } $schema->create(self::name(), 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('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('IS_SOC_SRDI')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('FICHE_MERE')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->bigInteger('COD_MARQUE')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->unsignedBigInteger('VERSION')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->boolean('ACTIVE')->nullable()->comment('Oracle: NUMBER(1, 0)'); $table->string('COD_GENCOD_ADM', 52)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->string('COD_GENCOD_SYMB', 52)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->string('COD_GENCOD_POIDS', 52)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->smallInteger('EXPLOITANT')->nullable()->comment('Oracle: NUMBER(4, 0)'); $table->smallInteger('COD_FAMVTE')->nullable()->comment('Oracle: NUMBER(3, 0)'); $table->bigInteger('COD_SOUSFAM')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->unsignedBigInteger('SITE_REF_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::name()); } }