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.

18 satır
348B

  1. <?php
  2. use yii\db\Migration;
  3. use yii\db\Schema;
  4. class m161227_130138_champs_date_derniere_connexion extends Migration
  5. {
  6. public function up()
  7. {
  8. $this->addColumn('user', 'date_derniere_connexion', Schema::TYPE_DATETIME) ;
  9. }
  10. public function down()
  11. {
  12. $this->dropColumn('user', 'date_derniere_connexion') ;
  13. }
  14. }