|
1234567891011121314151617 |
- <?php
-
- use yii\db\Migration;
- use yii\db\Schema;
- use common\models\DeveloppementPriorite ;
-
- class m171227_090138_champs_priorite_developpement extends Migration {
-
- public function up() {
- $this->addColumn('developpement_priorite','priorite',Schema::TYPE_STRING.' DEFAULT \''.DeveloppementPriorite::PRIORITE_NORMALE.'\'');
- }
-
- public function down() {
- $this->dropColumn('developpement_priorite','priorite');
- }
-
- }
|