diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php new file mode 100644 index 0000000..fed8219 --- /dev/null +++ b/app/Http/Controllers/UserController.php @@ -0,0 +1,86 @@ + + */ + public function rules() + { + return [ + // + ]; + } +} diff --git a/app/Http/Requests/UpdateUserRequest.php b/app/Http/Requests/UpdateUserRequest.php new file mode 100644 index 0000000..f3be9aa --- /dev/null +++ b/app/Http/Requests/UpdateUserRequest.php @@ -0,0 +1,30 @@ + + */ + public function rules() + { + return [ + // + ]; + } +} diff --git a/app/Models/User.php b/app/Models/User.php new file mode 100644 index 0000000..575e14e --- /dev/null +++ b/app/Models/User.php @@ -0,0 +1,11 @@ + + */ +class UserFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + // + ]; + } +} diff --git a/database/migrations/2022_09_22_051859_create_users_table.php b/database/migrations/2022_09_22_051859_create_users_table.php new file mode 100644 index 0000000..21b7cf5 --- /dev/null +++ b/database/migrations/2022_09_22_051859_create_users_table.php @@ -0,0 +1,31 @@ +id(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('users'); + } +}; diff --git a/database/seeders/UserSeeder.php b/database/seeders/UserSeeder.php new file mode 100644 index 0000000..c070ee6 --- /dev/null +++ b/database/seeders/UserSeeder.php @@ -0,0 +1,19 @@ +