You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
407 B
19 lines
407 B
4 years ago
|
const { Model } = require('flitter-orm')
|
||
|
|
||
|
class Matchup extends Model {
|
||
|
static get services() {
|
||
|
return [...super.services, 'models']
|
||
|
}
|
||
|
|
||
|
static get schema() {
|
||
|
return {
|
||
|
home_team_id: String,
|
||
|
visitor_team_id: String,
|
||
|
week_num: Number,
|
||
|
complete: { type: Boolean, default: false },
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = exports = Matchup
|