From 8af402a9e2589d459fe1ae8a85effe2951e1d904 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Tue, 13 Jun 2023 21:59:16 +0100 Subject: Initialize laravel app --- .../2014_10_12_000000_create_users_table.php | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2014_10_12_000000_create_users_table.php (limited to 'database/migrations/2014_10_12_000000_create_users_table.php') diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php new file mode 100644 index 0000000..444fafb --- /dev/null +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -0,0 +1,32 @@ +id(); + $table->string('name'); + $table->string('email')->unique(); + $table->timestamp('email_verified_at')->nullable(); + $table->string('password'); + $table->rememberToken(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('users'); + } +}; -- cgit v1.2.3-54-g00ecf