Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

21 lines
780B

  1. <?php
  2. use yii\db\Migration;
  3. class m181226_131915_rename_columns_saturday_point_sale extends Migration {
  4. public function up() {
  5. $this->renameColumn('point_sale', 'delivery_saterday', 'delivery_saturday') ;
  6. $this->renameColumn('point_sale', 'infos_saterday', 'infos_saturday') ;
  7. $this->renameColumn('subscription', 'saterday', 'saturday') ;
  8. $this->renameColumn('product', 'saterday', 'saturday') ;
  9. }
  10. public function down() {
  11. $this->renameColumn('point_sale', 'delivery_saturday', 'delivery_saterday') ;
  12. $this->renameColumn('point_sale', 'infos_saturday', 'infos_saterday') ;
  13. $this->renameColumn('subscription', 'saturday', 'saterday') ;
  14. $this->renameColumn('product', 'saturday', 'saterday') ;
  15. }
  16. }