mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
[EC-427] Add mysql migration script
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
namespace Bit.MySqlMigrations.Migrations;
|
||||
|
||||
public partial class ProviderAddProviderTypeBillingPhone : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
@ -34,4 +34,3 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
table: "Provider");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,10 @@
|
||||
START TRANSACTION;
|
||||
|
||||
ALTER TABLE `Provider` ADD `BillingPhone` longtext CHARACTER SET utf8mb4 NULL;
|
||||
|
||||
ALTER TABLE `Provider` ADD `Type` tinyint unsigned NOT NULL DEFAULT 0;
|
||||
|
||||
INSERT INTO `__EFMigrationsHistory` (`MigrationId`, `ProductVersion`)
|
||||
VALUES ('20221226164641_ProviderAddProviderTypeBillingPhone', '6.0.12');
|
||||
|
||||
COMMIT;
|
Reference in New Issue
Block a user