X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=database%2Fmigrations%2F2023_08_02_114353_user_global_roles.php;fp=database%2Fmigrations%2F2023_08_02_114353_user_global_roles.php;h=327b8e4e30772aaf470bec8e73e1101a6557fe48;hb=7c6716036321ba09846785720e81459aad55a323;hp=0000000000000000000000000000000000000000;hpb=9aca4f1a99af65dc988d2f66e122e25456a4efd9;p=alttp.git diff --git a/database/migrations/2023_08_02_114353_user_global_roles.php b/database/migrations/2023_08_02_114353_user_global_roles.php new file mode 100644 index 0000000..327b8e4 --- /dev/null +++ b/database/migrations/2023_08_02_114353_user_global_roles.php @@ -0,0 +1,32 @@ +text('global_roles')->default('[]'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function(Blueprint $table) { + $table->dropColumn('global_roles'); + }); + } +};