environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->string('NUM_COMMUNES', 20)->comment('Oracle: VARCHAR2(0, 0) [PK]'); $table->string('CP', 191)->comment('Oracle: VARCHAR2(0, 0) [PK]'); $table->unsignedBigInteger('UVERSION')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->primary(['NUM_COMMUNES', 'CP']); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }