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.

17 lines
335B

  1. <?php
  2. use yii\db\Migration;
  3. class m181226_100720_rename_column_subscription_date_begin extends Migration
  4. {
  5. public function up()
  6. {
  7. $this->renameColumn('subscription', 'date_debin', 'date_begin');
  8. }
  9. public function down()
  10. {
  11. $this->renameColumn('subscription', 'date_begin', 'date_debin') ;
  12. }
  13. }