environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->bigInteger('COD_FAMRGPT')->primary()->comment('Oracle: NUMBER(0, 0) [PK]'); $table->text('LIB_FAMRGPT')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->bigInteger('COD_FAMANA')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->integer('NO_ORDRE')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->bigInteger('UVERSION')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->unsignedBigInteger('SECT_ANA_SITE')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->unsignedBigInteger('SECT_ANA_INTERFILIALE')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->boolean('CARAC_ELEVAGE')->nullable()->comment('Oracle: NUMBER(1, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }