Browse Source

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

develop
Guillaume Bourgeois 2 months ago
parent
commit
bf6926f69e
1 changed files with 26 additions and 0 deletions
  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 View File

@@ -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);
}
}

Loading…
Cancel
Save