environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->dateTime('DAT_CRE')->nullable()->comment('Oracle: TIMESTAMP(6)(6, 0)'); $table->dateTime('DAT_MAJ')->nullable()->comment('Oracle: TIMESTAMP(6)(6, 0)'); $table->integer('UVERSION')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->integer('NO_ART')->comment('Oracle: NUMBER(6, 0) [PK]'); $table->string('NOM_ZONE_MM', 191)->comment('Oracle: VARCHAR2(0, 0) [PK]'); $table->primary(['NOM_ZONE_MM', 'NO_ART']); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }