id(); $table->string('name'); $table->text('address'); $table->string('link'); $table->enum('type', ['online','print','radio','television']); $table->enum('classification', ['local', 'regional', 'national']); $table->string('journalism_organization'); $table->string('journalism_organization_doc')->nullable(); $table->string('press_council_certificate'); $table->string('press_council_certificate_doc')->nullable(); $table->unsignedBigInteger('company_id'); $table->foreign('company_id')->references('id')->on('companies'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('media'); } };