environment('local', 'testing')) { $schema->dropIfExists(self::name()); } $schema->create(self::name(), function (Blueprint $table): void { $table->bigInteger('COD_SOUSFAM')->primary()->comment('Oracle: NUMBER(0, 0) [PK]'); $table->text('LIB_SOUSFAM')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->integer('NO_ORDRE')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->bigInteger('UVERSION')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->boolean('UTILISABLE')->nullable()->comment('Oracle: NUMBER(1, 0)'); $table->boolean('A_EPURER')->nullable()->comment('Oracle: NUMBER(1, 0)'); $table->boolean('NON_UTILISABLE')->nullable()->comment('Oracle: NUMBER(1, 0)'); $table->unsignedBigInteger('COD_RGPT_SOUS_FAM')->nullable()->comment('Oracle: NUMBER(10, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::name()); } }