diff --git a/motorradig/.idea/workspace.xml b/motorradig/.idea/workspace.xml index 240a645..bb9b8b7 100644 --- a/motorradig/.idea/workspace.xml +++ b/motorradig/.idea/workspace.xml @@ -2,9 +2,8 @@ - + - diff --git a/motorradig/database/migrations/2020_01_21_084547_add_role_to_users.php b/motorradig/database/migrations/2020_01_21_084547_add_role_to_users.php new file mode 100644 index 0000000..f2bb4f4 --- /dev/null +++ b/motorradig/database/migrations/2020_01_21_084547_add_role_to_users.php @@ -0,0 +1,32 @@ +string('role')->default('GUEST'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + // + }); + } +}