init
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
UPDATE [dbo].[DefaultProperties] SET DefaultValue = 'True' WHERE PropertyName = 'AllowAdvancedRecordingModes';
|
||||
|
||||
--Admin
|
||||
UPDATE [dbo].[UserProperties] SET PropertyValue = 'True' WHERE
|
||||
UserID = (SELECT ID FROM [dbo].[Users] WHERE UserName = 'Admin') AND
|
||||
PropertyId = (SELECT PropertyId FROM [dbo].[DefaultProperties] WHERE PropertyName = 'AllowAdvancedRecordingModes');
|
||||
|
||||
UPDATE [dbo].[UserProperties] SET PropertyValue = 'True' WHERE
|
||||
UserID = (SELECT ID FROM [dbo].[Users] WHERE UserName = @InitializationType) AND
|
||||
PropertyId = (SELECT PropertyId FROM [dbo].[DefaultProperties] WHERE PropertyName = 'AllowAdvancedRecordingModes');
|
||||
Reference in New Issue
Block a user