feat: Implement SMS sending functionality with KavehNegar and Rangineh providers
- Add SendSmsMessage class for encapsulating SMS message data. - Create KavehNegarProvider and RanginehProvider classes implementing SmsProviderInterface for sending SMS. - Implement SmsLogRepository and SmsTemplateRepository for managing SMS logs and templates. - Develop SendSmsHandler for handling SMS sending messages. - Create SmsService to manage SMS dispatching and logging. - Add UserProfileController for managing user profiles with CRUD operations. - Implement UserProfile entity and repository for user profile data management. - Update symfony.lock and bootstrap.php for project dependencies and environment setup.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DoctrineMigrations;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
use Doctrine\Migrations\AbstractMigration;
|
||||
|
||||
/**
|
||||
* Auto-generated Migration: Please modify to your needs!
|
||||
*/
|
||||
final class Version20260609131553 extends AbstractMigration
|
||||
{
|
||||
public function getDescription(): string
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
// this up() migration is auto-generated, please modify it to your needs
|
||||
$this->addSql('ALTER TABLE categories CHANGE status status SMALLINT NOT NULL, CHANGE weight weight INT NOT NULL, CHANGE description description LONGTEXT DEFAULT NULL, CHANGE footer_description footer_description LONGTEXT DEFAULT NULL, CHANGE footer_disclaimer footer_disclaimer LONGTEXT DEFAULT NULL');
|
||||
$this->addSql('ALTER TABLE categories RENAME INDEX uniq_3af346686b548b0f TO UNIQ_3AF34668D17F50A6');
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
// this down() migration is auto-generated, please modify it to your needs
|
||||
$this->addSql('ALTER TABLE categories CHANGE status status SMALLINT DEFAULT 1 NOT NULL, CHANGE weight weight INT DEFAULT 0 NOT NULL, CHANGE description description TEXT DEFAULT NULL, CHANGE footer_description footer_description TEXT DEFAULT NULL, CHANGE footer_disclaimer footer_disclaimer TEXT DEFAULT NULL');
|
||||
$this->addSql('ALTER TABLE categories RENAME INDEX uniq_3af34668d17f50a6 TO UNIQ_3AF346686B548B0F');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user