Closed tanacchi closed 4 years ago
column_name | type | example |
---|---|---|
id | Integer, primary_key | 1 |
user_id | String(80) | aHIyBichUNi |
status | String(80) | "playing" |
progress | Integer, primary_key, allow_null | - |
"pending" は「該当する user_id が存在しない」場合とする
column_name | type | example |
---|---|---|
id | Integer, primary_key | 1 |
answers | relationship to many Answers | - |
latest_question | Integer, primary_key, allow_null | - |
candidates | relationship to many Solutions | - |
column_name | type | example |
---|---|---|
id | Integer, primary_key | 2 |
message | String(200) | プロ研のメンバーですか? |
features | relationship to many Features | - |
column_name | type | example |
---|---|---|
id | Integer, primary_key | 3 |
name | String(80) | tanacchi |
features | relationship to many Features | - |
column_name | type | example |
---|---|---|
id | Integer, primary_key | 5 |
question | relationship to one Question | - |
solution | relationship to one Solution | - |
value | Float | 1.0 |
column_name | type | example |
---|---|---|
question | relationship to one Question | - |
value | Float | 1.0 |
確定したので閉じます
SQLAlchemy
でカラムを追加したりするのが面倒だった(ような気がするの)ので予めしっかり目に設計を考えておく.
PlantUML Web Server
表の形式は以下の通り