diff --git a/database/migrations/2024_05_28_160214_add_is_admin_and_is_tab_to_users_table.php b/database/migrations/2024_05_28_160214_add_is_admin_and_is_tab_to_users_table.php new file mode 100644 index 0000000..ee55507 --- /dev/null +++ b/database/migrations/2024_05_28_160214_add_is_admin_and_is_tab_to_users_table.php @@ -0,0 +1,30 @@ +boolean('is_admin')->default('0'); + $table->boolean('is_tab')->default('0'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('is_admin'); + $table->dropColumn('is_tab'); + }); + } +};