Skip to content

Commit d78de3f

Browse files
committed
[Appveyor] Better SP to add sysadmin role.
1 parent 77712a7 commit d78de3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/appveyor/dbsetup.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ USE [activerecord_unittest];
77
CREATE USER [rails] FOR LOGIN [rails];
88
GO
99
EXEC sp_addrolemember N'db_owner', N'rails';
10-
EXEC sp_addrolemember N'sysadmin', N'rails';
10+
EXEC master..sp_addsrvrolemember @loginame = N'rails', @rolename = N'sysadmin'
1111
GO

0 commit comments

Comments
 (0)