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.

26 lines
405 B

  1. <?php
  2. use yii\db\Migration;
  3. /**
  4. * Class m191111_102644_create_table_province
  5. */
  6. class m191204_092644_rename_backend_user extends Migration
  7. {
  8. /**
  9. * {@inheritdoc}
  10. */
  11. public function up()
  12. {
  13. $sql = 'alter table user rename to auth_user ';
  14. $this->execute($sql);
  15. }
  16. /**
  17. * {@inheritdoc}
  18. */
  19. public function down()
  20. {
  21. return true;
  22. }
  23. }