From a280d2b551dcd9d1c6d327aaf38d4398e0b8e1f9 Mon Sep 17 00:00:00 2001 From: Louis Jeckel Date: Tue, 14 Apr 2020 10:15:48 +0200 Subject: [PATCH] Create 2020_04_14_081506_remove_tags_col_from_pdf_files.php --- ..._081506_remove_tags_col_from_pdf_files.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2020_04_14_081506_remove_tags_col_from_pdf_files.php diff --git a/database/migrations/2020_04_14_081506_remove_tags_col_from_pdf_files.php b/database/migrations/2020_04_14_081506_remove_tags_col_from_pdf_files.php new file mode 100644 index 0000000..e3dd8a1 --- /dev/null +++ b/database/migrations/2020_04_14_081506_remove_tags_col_from_pdf_files.php @@ -0,0 +1,32 @@ +dropColumn('tags'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('pdf_files', function (Blueprint $table) { + $table->json('tags'); + }); + } +} -- 2.39.5