From dfcb5b1c4e8cb1f749dc47e7d310b1d0891c8eeb Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 30 Jun 2018 14:37:53 +0200 Subject: Began Laravel environment --- .../2014_10_12_000000_create_users_table.php | 35 ++++++++++++++++++++++ 1 file changed, 35 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..689cbee --- /dev/null +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -0,0 +1,35 @@ +increments('id'); + $table->string('name'); + $table->string('email')->unique(); + $table->string('password'); + $table->rememberToken(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('users'); + } +} -- cgit v1.2.3