Pārlūkot izejas kodu

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

develop
Guillaume Bourgeois pirms 1 mēnesi
vecāks
revīzija
bf6926f69e
1 mainītis faili ar 26 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt