You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

m230825_091434_add_column_producer_admin_comment.php 481B

1234567891011121314151617181920212223242526
  1. <?php
  2. use yii\db\Migration;
  3. use yii\db\Schema;
  4. /**
  5. * Class m230825_091434_add_column_producer_admin_comment
  6. */
  7. class m230825_091434_add_column_producer_admin_comment extends Migration
  8. {
  9. /**
  10. * {@inheritdoc}
  11. */
  12. public function safeUp()
  13. {
  14. $this->addColumn('producer', 'admin_comment', Schema::TYPE_TEXT);
  15. }
  16. /**
  17. * {@inheritdoc}
  18. */
  19. public function safeDown()
  20. {
  21. $this->dropColumn('producer', 'admin_comment');
  22. }
  23. }