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'); + }); + } +};