Logo white

Yarik / maps

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • maps
  • console
  • migrations
  • m160714_091712_add_road_index.php
  • Yarik
    a1e5908c
    Yarik authored
    2016-07-14 12:43:31 +0300  
    Browse Code ยป
m160714_091712_add_road_index.php 281 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php

use yii\db\Migration;

class m160714_091712_add_road_index extends Migration
{
    public function up()
    {
        $this->addColumn('road', 'index', $this->integer()->notNull());
    }

    public function down()
    {
        $this->dropColumn('road', 'index');
    }
}