diff --git a/src/Sql/Sql.sqlproj b/src/Sql/Sql.sqlproj
index 5d3a6f852b..c0f5288b4c 100644
--- a/src/Sql/Sql.sqlproj
+++ b/src/Sql/Sql.sqlproj
@@ -65,8 +65,8 @@
-
+
@@ -77,6 +77,7 @@
+
@@ -84,6 +85,5 @@
-
\ No newline at end of file
diff --git a/src/Sql/dbo/Stored Procedures/Cipher_Create.sql b/src/Sql/dbo/Stored Procedures/Cipher_Create.sql
index 999bc4874f..3eef16597f 100644
--- a/src/Sql/dbo/Stored Procedures/Cipher_Create.sql
+++ b/src/Sql/dbo/Stored Procedures/Cipher_Create.sql
@@ -3,6 +3,7 @@
@UserId UNIQUEIDENTIFIER,
@FolderId UNIQUEIDENTIFIER,
@Type TINYINT,
+ @Favorite BIT,
@Data NVARCHAR(MAX),
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
@@ -16,6 +17,7 @@ BEGIN
[UserId],
[FolderId],
[Type],
+ [Favorite],
[Data],
[CreationDate],
[RevisionDate]
@@ -26,6 +28,7 @@ BEGIN
@UserId,
@FolderId,
@Type,
+ @Favorite,
@Data,
@CreationDate,
@RevisionDate
diff --git a/src/Sql/dbo/Stored Procedures/Cipher_ReadByRevisionDateWithDeleteHistory.sql b/src/Sql/dbo/Stored Procedures/Cipher_ReadByRevisionDateUserWithDeleteHistory.sql
similarity index 100%
rename from src/Sql/dbo/Stored Procedures/Cipher_ReadByRevisionDateWithDeleteHistory.sql
rename to src/Sql/dbo/Stored Procedures/Cipher_ReadByRevisionDateUserWithDeleteHistory.sql
diff --git a/src/Sql/dbo/Stored Procedures/Cipher_Update.sql b/src/Sql/dbo/Stored Procedures/Cipher_Update.sql
index 2ba9b699a8..ff3d23ae91 100644
--- a/src/Sql/dbo/Stored Procedures/Cipher_Update.sql
+++ b/src/Sql/dbo/Stored Procedures/Cipher_Update.sql
@@ -3,6 +3,7 @@
@UserId UNIQUEIDENTIFIER,
@FolderId UNIQUEIDENTIFIER,
@Type TINYINT,
+ @Favorite BIT,
@Data NVARCHAR(MAX),
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
@@ -16,6 +17,7 @@ BEGIN
[UserId] = @UserId,
[FolderId] = @FolderId,
[Type] = @Type,
+ [Favorite] = @Favorite,
[Data] = @Data,
[CreationDate] = @CreationDate,
[RevisionDate] = @RevisionDate
diff --git a/src/Sql/dbo/Tables/Cipher.sql b/src/Sql/dbo/Tables/Cipher.sql
index b74560448f..46b4b40949 100644
--- a/src/Sql/dbo/Tables/Cipher.sql
+++ b/src/Sql/dbo/Tables/Cipher.sql
@@ -3,6 +3,7 @@
[UserId] UNIQUEIDENTIFIER NOT NULL,
[FolderId] UNIQUEIDENTIFIER NULL,
[Type] TINYINT NOT NULL,
+ [Favorite] BIT NOT NULL,
[Data] NVARCHAR (MAX) NOT NULL,
[CreationDate] DATETIME2 (7) NOT NULL,
[RevisionDate] DATETIME2 (7) NOT NULL,