sportdb-models 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sportdb/models/schema.rb +6 -2
- data/lib/sportdb/models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c8072de5db8829c62e3b726472af30146ebf320
|
4
|
+
data.tar.gz: ad299b7cd1fe9e2e604ac09d69894df443a6d46b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34d296b375d07d2b3345796fb13d85482f27b46d36b954d65eff33db37d35a8debde350032bc55e5f21e62eb4efbdea9911498c9bb37f0a4d7b99ec720420337
|
7
|
+
data.tar.gz: ceadae3f743055cc344fff0badf8a43f145f9390cee78b9e64f7725768e3cbb00fd6a0899e9e52e8ffc67f4520f8d585efdae23fec6eb6bb72471f7d736b8d32
|
@@ -207,12 +207,16 @@ create_table :matches do |t|
|
|
207
207
|
t.string :stage_key
|
208
208
|
|
209
209
|
|
210
|
-
t.date :date #
|
210
|
+
t.date :date # optional play date - todo/fix: split into play_date AND play_time!!!
|
211
211
|
t.time :time
|
212
212
|
|
213
213
|
t.boolean :postponed, null: false, default: false
|
214
214
|
## t.date :date2 # optional old date (when postponed)
|
215
|
-
## t.date :date3 # optional
|
215
|
+
## t.date :date3 # optional old date (when postponed twice)
|
216
|
+
|
217
|
+
t.string :status ## optional match status - note: uses UPCASE string constants for now
|
218
|
+
## e.g. CANCELLED / ABANDONED / REPLAY / AWARDED / POSTPONED / etc.
|
219
|
+
|
216
220
|
|
217
221
|
t.references :ground, index: false # optional - stadium (lets you get city,region,country,etc)
|
218
222
|
t.references :city, index: false # optional - convenience for ground.city_id ???
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportdb-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: worlddb-models
|