environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->bigInteger('ID_INCO')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->string('NUMERO', 40)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->bigInteger('SCORE_NUTRI')->nullable()->comment('Oracle: NUMBER(0, 0)'); $table->string('CLASSEMENT', 4)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->string('NUTRI_SCORE_2022', 4)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->date('DAT_CRE')->nullable()->comment('Oracle: DATE(0, 0)'); $table->date('DAT_MAJ')->nullable()->comment('Oracle: DATE(0, 0)'); $table->bigInteger('UVERSION')->nullable()->comment('Oracle: NUMBER(0, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }