From f01fecf1e670150ed67960fc259d990cc018ec38 Mon Sep 17 00:00:00 2001 From: f4ilji Date: Tue, 5 Nov 2024 15:09:22 +0500 Subject: [PATCH] Changes --- ..._000334_add_search_data_to_departments.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2024_11_05_000334_add_search_data_to_departments.php diff --git a/database/migrations/2024_11_05_000334_add_search_data_to_departments.php b/database/migrations/2024_11_05_000334_add_search_data_to_departments.php new file mode 100644 index 0000000..aee8fdf --- /dev/null +++ b/database/migrations/2024_11_05_000334_add_search_data_to_departments.php @@ -0,0 +1,28 @@ +text('search_data')->nullable()->after('faculty_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('departments', function (Blueprint $table) { + $table->dropColumn('search_data'); + }); + } +};