id('news_id'); $table->integer('parent_news')->nullable(false); $table->string('title', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false); $table->string('alias', 50)->nullable(); $table->text('text')->charset('utf8')->collation('utf8_general_ci')->nullable(false); $table->string('image', 255)->nullable()->default(null); $table->string('thumb', 255)->nullable()->default(null); $table->string('cover', 255)->nullable()->default(null); $table->integer('display_order')->default(1); $table->text('seo_keywords')->nullable(); $table->text('seo_title')->nullable(); $table->text('seo_descriptions')->nullable(); $table->text('og_tags')->nullable(); $table->integer('status')->default(1); $table->integer('createdby')->nullable()->default(null); $table->integer('updatedby')->nullable()->default(null); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('news'); } };