From dc4bd6ea7c1bfe378de066875537947016f0e3b6 Mon Sep 17 00:00:00 2001 From: Torsten Date: Fri, 20 Oct 2023 09:43:30 +0200 Subject: [PATCH] GalleryItem Migrations --- motorradig/app/GalleryImage.php | 10 ++++++ ...023_10_20_092108_create_gallery_images.php | 34 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 motorradig/app/GalleryImage.php create mode 100644 motorradig/database/migrations/2023_10_20_092108_create_gallery_images.php diff --git a/motorradig/app/GalleryImage.php b/motorradig/app/GalleryImage.php new file mode 100644 index 0000000..f63d854 --- /dev/null +++ b/motorradig/app/GalleryImage.php @@ -0,0 +1,10 @@ +id(); + $table->integer('tour_id'); + $table->string('filename'); + $table->string('displayname'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('gallery_images'); + } +}