Update db.py
Browse files
db.py
CHANGED
@@ -14,7 +14,7 @@ class Race(Model):
|
|
14 |
course_sit: Course situation (0: 良, 1: 稍重, 2: 重, 3: 不良)
|
15 |
weather: Weather (0: 晴, 1: 曇, 2: 小雨, 3: 雨, 4: 小雪, 5: 雪)
|
16 |
distance: Distance (in meters)
|
17 |
-
horses: List of horses
|
18 |
list of horse info(in list)
|
19 |
[
|
20 |
hid, # horse id
|
@@ -63,7 +63,7 @@ class Horse(Model):
|
|
63 |
born: Date of birth
|
64 |
name: Horse name
|
65 |
info: Horse info (gender, color, etc.)
|
66 |
-
races: List of races
|
67 |
list of race info(in list)
|
68 |
[
|
69 |
r_id, # race id
|
|
|
14 |
course_sit: Course situation (0: 良, 1: 稍重, 2: 重, 3: 不良)
|
15 |
weather: Weather (0: 晴, 1: 曇, 2: 小雨, 3: 雨, 4: 小雪, 5: 雪)
|
16 |
distance: Distance (in meters)
|
17 |
+
horses: Json format, List of horses
|
18 |
list of horse info(in list)
|
19 |
[
|
20 |
hid, # horse id
|
|
|
63 |
born: Date of birth
|
64 |
name: Horse name
|
65 |
info: Horse info (gender, color, etc.)
|
66 |
+
races: Json format, List of races
|
67 |
list of race info(in list)
|
68 |
[
|
69 |
r_id, # race id
|