mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
Adding CipherId to the Send table, create/update sprocs, and added migrations
This commit is contained in:
2335
util/SqliteMigrations/Migrations/20240104162642_AddCipherIdToSend.Designer.cs
generated
Normal file
2335
util/SqliteMigrations/Migrations/20240104162642_AddCipherIdToSend.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,27 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Bit.SqliteMigrations.Migrations;
|
||||
|
||||
/// <inheritdoc />
|
||||
public partial class AddCipherIdToSend : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "CipherId",
|
||||
table: "Send",
|
||||
type: "TEXT",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CipherId",
|
||||
table: "Send");
|
||||
}
|
||||
}
|
@ -1111,6 +1111,9 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
b.Property<int>("AccessCount")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<Guid?>("CipherId")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateTime>("CreationDate")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
|
Reference in New Issue
Block a user