mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
refactored cipherfolder and fav to JSON columns
This commit is contained in:
@ -10,6 +10,8 @@ namespace Bit.Core.Models.Table
|
||||
public Guid? OrganizationId { get; set; }
|
||||
public Enums.CipherType Type { get; set; }
|
||||
public string Data { get; set; }
|
||||
public string Favorites { get; set; }
|
||||
public string Folders { get; set; }
|
||||
public DateTime CreationDate { get; internal set; } = DateTime.UtcNow;
|
||||
public DateTime RevisionDate { get; internal set; } = DateTime.UtcNow;
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Bit.Core.Models.Table
|
||||
{
|
||||
public class Favorite
|
||||
{
|
||||
public Guid CipherId { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Bit.Core.Models.Table
|
||||
{
|
||||
public class FolderCipher
|
||||
{
|
||||
public Guid CipherId { get; set; }
|
||||
public Guid FolderId { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user