Chris
1909be5314
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
18 lines
503 B
PHP
18 lines
503 B
PHP
<?php
|
|
|
|
class Run extends Model
|
|
{
|
|
protected $dbTable = "run";
|
|
protected $dbFields = array(
|
|
'tournament' => ['type' => 'text', 'required'],
|
|
'name' => ['type' => 'text', 'required'],
|
|
'category' => ['type' => 'text'],
|
|
'length' => ['type' => 'int'], //in meters
|
|
'time_standard' => ['type' => 'int'], // in sek
|
|
'time_max' => ['type' => 'int'], // in sek
|
|
'referee' => ['type' => 'text'],
|
|
'photo' => ['type' => 'text'],
|
|
);
|
|
|
|
}
|