-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from lukearnould/develop
Fix warnings and merge SQL files
- Loading branch information
Showing
11 changed files
with
43 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 22 additions & 1 deletion
23
HospitalManagement.Database/Security/HospitalManagementUser.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
CREATE USER [HospitalManagementUser] FOR LOGIN [HospitalManagementUser]; | ||
CREATE LOGIN [HospitalManagementUser] WITH PASSWORD = '' | ||
go | ||
|
||
CREATE USER [HospitalManagementUser] FOR LOGIN [HospitalManagementUser]; | ||
go | ||
|
||
GRANT VIEW ANY COLUMN ENCRYPTION KEY DEFINITION TO PUBLIC; | ||
GO | ||
|
||
GRANT VIEW ANY COLUMN MASTER KEY DEFINITION TO PUBLIC; | ||
GO | ||
|
||
GRANT CONNECT TO [HospitalManagementUser]; | ||
go | ||
|
||
ALTER ROLE [db_accessadmin] ADD MEMBER [HospitalManagementUser]; | ||
GO | ||
|
||
ALTER ROLE [db_datareader] ADD MEMBER [HospitalManagementUser]; | ||
go | ||
|
||
ALTER ROLE [db_datawriter] ADD MEMBER [HospitalManagementUser]; | ||
go |
2 changes: 0 additions & 2 deletions
2
HospitalManagement.Database/Security/HospitalManagementUser_1.sql
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters