environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->integer('ID')->primary()->comment('Oracle: NUMBER(5, 0) [PK]'); $table->text('LIBELLE')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->integer('LONGUEUR')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->integer('LARGEUR')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->integer('HAUTEUR')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->decimal('POIDS', 8, 3)->nullable()->comment('Oracle: NUMBER(8, 3)'); $table->integer('UVERSION')->nullable()->comment('Oracle: NUMBER(5, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }