environment('local', 'testing')) { $schema->dropIfExists(self::name()); } $schema->create(self::name(), function (Blueprint $table): void { $table->unsignedBigInteger('ID')->primary()->comment('Oracle: NUMBER(10, 0) [PK]'); $table->text('NOM')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->text('ADRESSE1')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->text('ADRESSE2')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->string('CP', 40)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->string('VILLE', 40)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->text('TELEPHONE')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->text('MAIL')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->string('FAX', 120)->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->integer('MARQUE')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->integer('UVERSION')->nullable()->comment('Oracle: NUMBER(5, 0)'); $table->text('LIB')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); $table->text('SITE_INT')->nullable()->comment('Oracle: VARCHAR2(0, 0)'); }); } public static function down(Builder $schema): void { $schema->dropIfExists(self::name()); } }