diff --git a/console/migrations/m211122_144548_add_column_to_reports_task_table.php b/console/migrations/m211122_144548_add_column_to_reports_task_table.php new file mode 100644 index 0000000..7e3479e --- /dev/null +++ b/console/migrations/m211122_144548_add_column_to_reports_task_table.php @@ -0,0 +1,25 @@ +addColumn('reports_task', 'minutes_spent', $this->integer()->defaultValue(0)->notNull()); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->dropColumn('reports_task', 'minutes_spent' ); + } +}