environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->unsignedBigInteger('ID_SOCIETE')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->unsignedBigInteger('NO_ART')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->smallInteger('NIVEAU')->nullable()->comment('Oracle: NUMBER(2, 0)'); $table->unsignedBigInteger('COD_SITE_GRP')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->date('DATE_DEBUT_EFFET')->nullable()->comment('Oracle: DATE(0, 0)'); $table->date('DATE_FIN_EFFET')->nullable()->comment('Oracle: DATE(0, 0)'); $table->smallInteger('COD_ATELIER')->nullable()->comment('Oracle: NUMBER(3, 0)'); $table->bigInteger('UVERSION')->nullable()->comment('Oracle: NUMBER(0, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }