Allow metrics to calculate the sum or average. Closes #517.

This commit is contained in:
James Brooks
2015-03-17 16:41:23 +00:00
committed by James Brooks
parent f11d238258
commit 8e372c55b1
10 changed files with 71 additions and 26 deletions

View File

@@ -19,6 +19,7 @@ class CreateMetricsTable extends Migration
$table->string('suffix');
$table->text('description');
$table->decimal('default_value', 10, 3);
$table->tinyInteger('calc_type');
$table->boolean('display_chart')->default(1);
$table->timestamps();