environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->smallInteger('CODE_CALIBRE')->primary()->comment('Oracle: NUMBER(3, 0) [PK]'); $table->string('LIBELLE_CALIBRE', 120)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->integer('UVERSION')->nullable()->comment('Oracle: NUMBER(6, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }