environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->date('DAT_CRE')->nullable()->comment('Oracle: DATE(0, 0)'); $table->date('DAT_MAJ')->nullable()->comment('Oracle: DATE(0, 0)'); $table->integer('UVERSION')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->unsignedBigInteger('CLE_SEQ')->primary()->comment('Oracle: NUMBER(10, 0) [PK]'); $table->integer('NO_ART')->nullable()->comment('Oracle: NUMBER(6, 0)'); $table->unsignedBigInteger('MATIERE_PREMIERE')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->text('PAYS_ORIGINE')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }