質問編集履歴
1
テーブルを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -112,6 +112,108 @@
|
|
112
112
|
|
113
113
|
```
|
114
114
|
|
115
|
+
テーブル構造
|
116
|
+
|
117
|
+
```ここに言語を入力
|
118
|
+
|
119
|
+
evaluations
|
120
|
+
|
121
|
+
+-----------------+------------------+------+-----+---------+----------------+
|
122
|
+
|
123
|
+
| Field | Type | Null | Key | Default | Extra |
|
124
|
+
|
125
|
+
+-----------------+------------------+------+-----+---------+----------------+
|
126
|
+
|
127
|
+
| id | bigint unsigned | NO | PRI | NULL | auto_increment |
|
128
|
+
|
129
|
+
| user_student_id | int unsigned | NO | | NULL | |
|
130
|
+
|
131
|
+
| user_teacher_id | int unsigned | NO | | NULL | |
|
132
|
+
|
133
|
+
| lesson_id | int unsigned | NO | | NULL | |
|
134
|
+
|
135
|
+
| point | tinyint unsigned | NO | | NULL | |
|
136
|
+
|
137
|
+
| comment | varchar(255) | NO | | NULL | |
|
138
|
+
|
139
|
+
| created_at | timestamp | YES | | NULL | |
|
140
|
+
|
141
|
+
| updated_at | timestamp | YES | | NULL | |
|
142
|
+
|
143
|
+
| deleted_at | timestamp | YES | | NULL | |
|
144
|
+
|
145
|
+
+-----------------+------------------+------+-----+---------+----------------+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
users
|
150
|
+
|
151
|
+
+-------------------+------------------+------+-----+---------+----------------+
|
152
|
+
|
153
|
+
| Field | Type | Null | Key | Default | Extra |
|
154
|
+
|
155
|
+
+-------------------+------------------+------+-----+---------+----------------+
|
156
|
+
|
157
|
+
| id | bigint unsigned | NO | PRI | NULL | auto_increment |
|
158
|
+
|
159
|
+
| name | varchar(255) | NO | | NULL | |
|
160
|
+
|
161
|
+
| email | varchar(255) | NO | UNI | NULL | |
|
162
|
+
|
163
|
+
| email_verified_at | timestamp | YES | | NULL | |
|
164
|
+
|
165
|
+
| password | varchar(255) | NO | | NULL | |
|
166
|
+
|
167
|
+
| account | varchar(255) | NO | UNI | NULL | |
|
168
|
+
|
169
|
+
| status | tinyint unsigned | YES | | NULL | |
|
170
|
+
|
171
|
+
| sex | tinyint unsigned | NO | | 0 | |
|
172
|
+
|
173
|
+
| age | tinyint unsigned | YES | | NULL | |
|
174
|
+
|
175
|
+
| country_id | tinyint unsigned | YES | | NULL | |
|
176
|
+
|
177
|
+
| prefecture_id | int unsigned | YES | | NULL | |
|
178
|
+
|
179
|
+
| language_id | int unsigned | YES | | NULL | |
|
180
|
+
|
181
|
+
| img | varchar(255) | YES | | NULL | |
|
182
|
+
|
183
|
+
| profile | varchar(1000) | NO | | NULL | |
|
184
|
+
|
185
|
+
| mailing | tinyint unsigned | NO | | NULL | |
|
186
|
+
|
187
|
+
| bank_type | tinyint unsigned | YES | | NULL | |
|
188
|
+
|
189
|
+
| bank_id | int unsigned | YES | | NULL | |
|
190
|
+
|
191
|
+
| credit_id | int unsigned | YES | | NULL | |
|
192
|
+
|
193
|
+
| category1_id | tinyint unsigned | YES | | NULL | |
|
194
|
+
|
195
|
+
| category2_id | tinyint unsigned | YES | | NULL | |
|
196
|
+
|
197
|
+
| category3_id | tinyint unsigned | YES | | NULL | |
|
198
|
+
|
199
|
+
| category4_id | tinyint unsigned | YES | | NULL | |
|
200
|
+
|
201
|
+
| category5_id | tinyint unsigned | YES | | NULL | |
|
202
|
+
|
203
|
+
| withdraw_reason | varchar(255) | YES | | NULL | |
|
204
|
+
|
205
|
+
| remember_token | varchar(100) | YES | | NULL | |
|
206
|
+
|
207
|
+
| created_at | timestamp | YES | | NULL | |
|
208
|
+
|
209
|
+
| updated_at | timestamp | YES | | NULL | |
|
210
|
+
|
211
|
+
| deleted_at | timestamp | YES | | NULL | |
|
212
|
+
|
213
|
+
+-------------------+------------------+------+-----+---------+----------------+
|
214
|
+
|
215
|
+
```
|
216
|
+
|
115
217
|
|
116
218
|
|
117
219
|
### 試したこと
|