質問編集履歴
1
Userのmigrationfileも追記しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -64,7 +64,43 @@
|
|
64
64
|
}
|
65
65
|
}
|
66
66
|
```
|
67
|
+
> **Usermigrationfile**
|
68
|
+
```
|
69
|
+
class CreateUsersTable extends Migration
|
70
|
+
{
|
71
|
+
/**
|
72
|
+
* Run the migrations.
|
73
|
+
*
|
74
|
+
* @return void
|
75
|
+
*/
|
76
|
+
public function up()
|
77
|
+
{
|
78
|
+
Schema::create('users', function (Blueprint $table) {
|
79
|
+
$table->bigIncrements('id');
|
80
|
+
$table->string('name');
|
81
|
+
$table->string('profile');
|
82
|
+
$table->string('image');
|
83
|
+
$table->string('email')->unique();
|
84
|
+
$table->timestamp('email_verified_at')->nullable();
|
85
|
+
$table->string('password');
|
86
|
+
$table->rememberToken();
|
87
|
+
$table->timestamps();
|
88
|
+
});
|
89
|
+
}
|
67
90
|
|
91
|
+
/**
|
92
|
+
* Reverse the migrations.
|
93
|
+
*
|
94
|
+
* @return void
|
95
|
+
*/
|
96
|
+
public function down()
|
97
|
+
{
|
98
|
+
Schema::dropIfExists('users');
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
```
|
103
|
+
|
68
104
|
##仮説と仮説を確認するための問題点
|
69
105
|
|
70
106
|
**仮説 :**
|