environment('local', 'testing')) { $schema->dropIfExists(self::name()); } $schema->create(self::name(), function (Blueprint $table): void { $table->unsignedBigInteger('CODE')->primary()->comment('Oracle: NUMBER(10, 0) [PK]'); $table->text('LIBELLE')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->integer('UVERSION')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->boolean('DONNEE_STAT_ARTICLE')->nullable()->comment('Oracle: NUMBER(1, 0)'); $table->boolean('SIGNE_QUALITE')->nullable()->comment('Oracle: NUMBER(1, 0)'); $table->boolean('ALLEGATION_MKT')->nullable()->comment('Oracle: NUMBER(1, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::name()); } }