123456789101112131415161718192021222324252627 |
- <?php
- use yii\db\Migration;
- /**
- * Class m240719_013111_columna_tipo_vehiculo
- */
- class m240719_013111_columna_tipo_vehiculo extends Migration
- {
- /**
- * {@inheritdoc}
- */
- public function safeUp()
- {
- $this->addColumn("Vehiculo", "tipo", $this->string(100));
- }
- /**
- * {@inheritdoc}
- */
- public function safeDown()
- {
- $this->dropColumn("Vehiculo", "tipo");
- }
- }
|