From: Louis Jeckel Date: Tue, 14 Apr 2020 08:15:48 +0000 (+0200) Subject: Create 2020_04_14_081506_remove_tags_col_from_pdf_files.php X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a280d2b551dcd9d1c6d327aaf38d4398e0b8e1f9;p=psq.git Create 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'); + }); + } +}