Browse Source

[Administration] Tickets : possibilité de mettre des émojis dans les messages

feature/rotating_product
Guillaume Bourgeois 6 months ago
parent
commit
d4f76a80ef
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      console/migrations/m240514_074953_alter_column_ticket_message_message.php

+ 26
- 0
console/migrations/m240514_074953_alter_column_ticket_message_message.php View File

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

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

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

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

Loading…
Cancel
Save