environment('local', 'testing')) { $schema->dropIfExists(self::table($schema->getConnection())); } $schema->create(self::table($schema->getConnection()), function (Blueprint $table): void { $table->unsignedBigInteger('ID')->primary()->comment('Oracle: NUMBER(10, 0) [PK]'); $table->unsignedBigInteger('ID_GESTION_ENVOI')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->unsignedBigInteger('ID_INCO')->nullable()->comment('Oracle: NUMBER(10, 0)'); $table->date('DATE_ENV_DEMANDE')->nullable()->comment('Oracle: DATE(0, 0)'); $table->date('DATE_ENV_REELLE')->nullable()->comment('Oracle: DATE(0, 0)'); $table->string('COD_UTIL', 40)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->text('MOTIF')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->integer('UVERSION')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->text('NOM_FIC_GEN')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->boolean('ENVOI_ANO')->nullable()->comment('Oracle: NUMBER(1, 0)'); $table->binary('PHOTO')->nullable()->comment('Oracle: BLOB(0, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::table($schema->getConnection())); } }