This commit is contained in:
wanghai
2026-07-03 19:34:24 +08:00
parent 52816e8704
commit bf631519c3
246 changed files with 1808 additions and 187640 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace Database\Migrations;
use Doctrine\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema as Schema;
class Version20260703191736 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): void
{
$this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.');
$this->addSql('ALTER TABLE bspay_user_card ADD branch_code VARCHAR(12) DEFAULT \'\' COMMENT \'支行联行号,对公必填\', DROP bank_code');
$this->addSql('ALTER TABLE kaquan_user_discount_logs CHANGE mobile mobile VARCHAR(255) DEFAULT NULL COMMENT \'手机号\'');
}
/**
* @param Schema $schema
*/
public function down(Schema $schema): void
{
}
}