mirror of
https://github.com/bitwarden/server
synced 2026-01-19 08:53:57 +00:00
Added Sql project with database schema. Added SqlServer repositories for Site, Folder, and User (Cipher still TODO). Switched DI in Startup to SqlServer repos.
This commit is contained in:
11
src/Sql/dbo/Stored Procedures/User_ReadByEmail.sql
Normal file
11
src/Sql/dbo/Stored Procedures/User_ReadByEmail.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
CREATE PROCEDURE [dbo].[User_ReadByEmail]
|
||||
@Email NVARCHAR(50)
|
||||
AS
|
||||
BEGIN
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[UserView]
|
||||
WHERE
|
||||
[Email] = @Email
|
||||
END
|
||||
Reference in New Issue
Block a user