Bladeren bron

[Administration] Email automatique : passage champs message en type blob

develop
Guillaume Bourgeois 1 maand geleden
bovenliggende
commit
bf6926f69e
1 gewijzigde bestanden met toevoegingen van 26 en 0 verwijderingen
  1. +26
    -0
      console/migrations/m241018_090705_alter_column_automatic_email_message_blob.php

+ 26
- 0
console/migrations/m241018_090705_alter_column_automatic_email_message_blob.php Bestand weergeven

@@ -0,0 +1,26 @@
<?php

use yii\db\Migration;
use yii\db\Schema;

/**
* Class m241018_090705_alter_column_automatic_email_message_blob
*/
class m241018_090705_alter_column_automatic_email_message_blob extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->alterColumn('automatic_email', 'message', 'blob');
}

/**
* {@inheritdoc}
*/
public function safeDown()
{
$this->alterColumn('automatic_email', 'message', Schema::TYPE_TEXT);
}
}

Laden…
Annuleren
Opslaan