Logo white

Alex Savenko / proektant

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • proektant
  • console
  • migrations
  • m160312_143616_project_add_field_tota...
  • init commit
    14a09168
    Alex Savenko authored
    2017-02-02 16:39:23 +0200  
    Browse Code ยป
m160312_143616_project_add_field_total_budget.php 332 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php

use yii\db\Migration;

class m160312_143616_project_add_field_total_budget extends Migration
{
    public function up()
    {
        $this->addColumn('{{%project}}', 'total_budget', $this->float());
    }

    public function down()
    {
        $this->dropColumn('{{%project}}', 'total_budget');

    }
}