From 026d296d8f03e417278f6fdf468f77102da3c12c Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 18 Feb 2016 08:53:16 +0000 Subject: [PATCH] Change metric_points.value to DECIMAL(15,3). Closes #1508 --- ...lterTableMetricPointsChangeValueColumn.php | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 database/migrations/2016_02_18_085210_AlterTableMetricPointsChangeValueColumn.php diff --git a/database/migrations/2016_02_18_085210_AlterTableMetricPointsChangeValueColumn.php b/database/migrations/2016_02_18_085210_AlterTableMetricPointsChangeValueColumn.php new file mode 100644 index 000000000..8c854d3eb --- /dev/null +++ b/database/migrations/2016_02_18_085210_AlterTableMetricPointsChangeValueColumn.php @@ -0,0 +1,41 @@ +decimal('value', 15, 3)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('metric_points', function (Blueprint $table) { + $table->decimal('value', 10, 3)->change(); + }); + } +}