Skip to content

Commit 77712a7

Browse files
committed
[Appveyor] Assign all DB roles at one time.
1 parent 095abf7 commit 77712a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/appveyor/dbsetup.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ CREATE DATABASE [activerecord_unittest2];
33
GO
44
CREATE LOGIN [rails] WITH PASSWORD = '', CHECK_POLICY = OFF, DEFAULT_DATABASE = [activerecord_unittest];
55
GO
6-
EXEC sp_addrolemember N'sysadmin', N'rails';
7-
GO
86
USE [activerecord_unittest];
97
CREATE USER [rails] FOR LOGIN [rails];
108
GO
119
EXEC sp_addrolemember N'db_owner', N'rails';
10+
EXEC sp_addrolemember N'sysadmin', N'rails';
1211
GO

0 commit comments

Comments
 (0)