diff --git a/app/Models/NewsStory.php b/app/Models/NewsStory.php new file mode 100644 index 0000000..b0a949d --- /dev/null +++ b/app/Models/NewsStory.php @@ -0,0 +1,10 @@ +id(); + $table->string('headline'); + $table->text('body'); + $table->date('start_publication_date')->nullable(); + $table->date('stop_publication_date')->nullable(); + $table->string('active'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('news_stories'); + } +};