mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
Merge branch 'master' into EC-427-create-provider-types-msp-reseller-server-database
This commit is contained in:
@ -6,7 +6,7 @@ namespace Bit.PostgresMigrations.Migrations;
|
||||
public partial class SplitManageCollectionsPermissions2 : Migration
|
||||
{
|
||||
private const string _scriptLocation =
|
||||
"PostgresMigrations.Scripts.2021-09-21_01_SplitManageCollectionsPermission.psql";
|
||||
"PostgresMigrations.HelperScripts.2021-09-21_01_SplitManageCollectionsPermission.psql";
|
||||
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
@ -6,7 +6,7 @@ namespace Bit.PostgresMigrations.Migrations;
|
||||
public partial class SetMaxAutoscaleSeatsToCurrentSeatCount : Migration
|
||||
{
|
||||
private const string _scriptLocation =
|
||||
"PostgresMigrations.Scripts.2021-10-21_00_SetMaxAutoscaleSeatCount.psql";
|
||||
"PostgresMigrations.HelperScripts.2021-10-21_00_SetMaxAutoscaleSeatCount.psql";
|
||||
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
1684
util/PostgresMigrations/Migrations/20221115034053_AvatarColor.Designer.cs
generated
Normal file
1684
util/PostgresMigrations/Migrations/20221115034053_AvatarColor.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,26 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Bit.PostgresMigrations.Migrations;
|
||||
|
||||
public partial class AvatarColor : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "AvatarColor",
|
||||
table: "User",
|
||||
type: "character varying(7)",
|
||||
maxLength: 7,
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "AvatarColor",
|
||||
table: "User");
|
||||
}
|
||||
}
|
@ -1173,6 +1173,10 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
.HasMaxLength(30)
|
||||
.HasColumnType("character varying(30)");
|
||||
|
||||
b.Property<string>("AvatarColor")
|
||||
.HasMaxLength(7)
|
||||
.HasColumnType("character varying(7)");
|
||||
|
||||
b.Property<DateTime>("CreationDate")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
|
Reference in New Issue
Block a user