Browse Source

[Boutique] Accueil : ajout d'émojis possible via "Paramètres > Général > Description"

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

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

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

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

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

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

Loading…
Cancel
Save