mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
modify schema to be consistent
This commit is contained in:
@@ -161,7 +161,7 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
[Name] varchar(128) NOT NULL,
|
||||
[Type] varchar(32) NOT NULL,
|
||||
[Expanded] bit NOT NULL,
|
||||
[AutomaticResize] bit NOT NULL DEFAULT 1,
|
||||
[AutomaticResize] bit NOT NULL DEFAULT ((1)),
|
||||
[CacheBitmaps] bit NOT NULL,
|
||||
[Colors] varchar(32) NOT NULL,
|
||||
[ConnectToConsole] bit NOT NULL,
|
||||
@@ -200,8 +200,8 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
[RDPAuthenticationLevel] varchar(32) NOT NULL,
|
||||
[RDPMinutesToIdleTimeout] int NOT NULL,
|
||||
[RdpVersion] varchar(10) NULL,
|
||||
[RedirectAudioCapture] bit NOT NULL DEFAULT 0,
|
||||
[RedirectClipboard] bit NOT NULL DEFAULT 0,
|
||||
[RedirectAudioCapture] bit NOT NULL,
|
||||
[RedirectClipboard] bit NOT NULL,
|
||||
[RedirectDiskDrives] bit NOT NULL,
|
||||
[RedirectKeys] bit NOT NULL,
|
||||
[RedirectPorts] bit NOT NULL,
|
||||
@@ -214,8 +214,8 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
[SSHTunnelConnectionName] varchar(128) NOT NULL,
|
||||
[SoundQuality] varchar(20) NOT NULL,
|
||||
[UseCredSsp] bit NOT NULL,
|
||||
[UseEnhancedMode] bit DEFAULT 0,
|
||||
[UseVmId] bit DEFAULT 0,
|
||||
[UseEnhancedMode] bit NOT NULL,
|
||||
[UseVmId] bit NOT NULL,
|
||||
[UserField] varchar(256) NULL,
|
||||
[Username] varchar(512) NULL,
|
||||
[VNCAuthMode] varchar(10) NULL,
|
||||
@@ -231,7 +231,7 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
[VNCViewOnly] bit NOT NULL,
|
||||
[VmId] varchar(100) NULL,
|
||||
[ICAEncryptionStrength] varchar(32) NOT NULL,
|
||||
[InheritAutomaticResize] bit NOT NULL DEFAULT 0,
|
||||
[InheritAutomaticResize] bit NOT NULL,
|
||||
[InheritCacheBitmaps] bit NOT NULL,
|
||||
[InheritColors] bit NOT NULL,
|
||||
[InheritDescription] bit NOT NULL,
|
||||
@@ -248,7 +248,7 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
[InheritFavorite] bit NOT NULL,
|
||||
[InheritICAEncryptionStrength] bit NOT NULL,
|
||||
[InheritIcon] bit NOT NULL,
|
||||
[InheritLoadBalanceInfo] bit NOT NULL DEFAULT 0,
|
||||
[InheritLoadBalanceInfo] bit NOT NULL,
|
||||
[InheritMacAddress] bit NOT NULL,
|
||||
[InheritOpeningCommand] bit NOT NULL,
|
||||
[InheritPanel] bit NOT NULL,
|
||||
@@ -263,15 +263,15 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
[InheritRDGatewayPassword] bit NOT NULL,
|
||||
[InheritRDGatewayUsageMethod] bit NOT NULL,
|
||||
[InheritRDGatewayUseConnectionCredentials] bit NOT NULL,
|
||||
[InheritRDGatewayExternalCredentialProvider] bit NOT NULL DEFAULT 0,
|
||||
[InheritRDGatewayExternalCredentialProvider] bit NOT NULL,
|
||||
[InheritRDGatewayUsername] bit NOT NULL,
|
||||
[InheritRDGatewayUserViaAPI] bit NOT NULL DEFAULT 0,
|
||||
[InheritRDGatewayUserViaAPI] bit NOT NULL,
|
||||
[InheritRDPAlertIdleTimeout] bit NOT NULL,
|
||||
[InheritRDPAuthenticationLevel] bit NOT NULL,
|
||||
[InheritRDPMinutesToIdleTimeout] bit NOT NULL,
|
||||
[InheritRdpVersion] bit NOT NULL DEFAULT 0,
|
||||
[InheritRedirectAudioCapture] bit NOT NULL DEFAULT 0,
|
||||
[InheritRedirectClipboard] bit NOT NULL DEFAULT 0,
|
||||
[InheritRdpVersion] bit NOT NULL,
|
||||
[InheritRedirectAudioCapture] bit NOT NULL,
|
||||
[InheritRedirectClipboard] bit NOT NULL,
|
||||
[InheritRedirectDiskDrives] bit NOT NULL,
|
||||
[InheritRedirectKeys] bit NOT NULL,
|
||||
[InheritRedirectPorts] bit NOT NULL,
|
||||
@@ -287,11 +287,11 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
[InheritUseCredSsp] bit NOT NULL,
|
||||
[InheritUseRestrictedAdmin] bit NOT NULL,
|
||||
[InheritUseRCG] bit NOT NULL,
|
||||
[InheritExternalCredentialProvider] bit NOT NULL DEFAULT 0,
|
||||
[InheritUserViaAPI] bit NOT NULL DEFAULT 0,
|
||||
[InheritExternalCredentialProvider] bit NOT NULL,
|
||||
[InheritUserViaAPI] bit NOT NULL,
|
||||
[UseRestrictedAdmin] bit NOT NULL,
|
||||
[UseRCG] bit NOT NULL,
|
||||
[InheritUseEnhancedMode] bit NOT NULL DEFAULT 0,
|
||||
[InheritUseEnhancedMode] bit NOT NULL,
|
||||
[InheritUseVmId] bit,
|
||||
[InheritUserField] bit NOT NULL,
|
||||
[InheritUsername] bit NOT NULL,
|
||||
@@ -306,7 +306,7 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
[InheritVNCProxyUsername] bit NOT NULL,
|
||||
[InheritVNCSmartSizeMode] bit NOT NULL,
|
||||
[InheritVNCViewOnly] bit NOT NULL,
|
||||
[InheritVmId] bit NOT NULL DEFAULT 0,
|
||||
[InheritVmId] bit NOT NULL,
|
||||
[StartProgram] varchar(512) NULL,
|
||||
[StartProgramWorkDir] varchar(512) NULL,
|
||||
[EC2Region] varchar(32) NULL,
|
||||
@@ -316,9 +316,9 @@ CREATE TABLE [dbo].[tblCons] (
|
||||
) ON [PRIMARY]
|
||||
|
||||
CREATE TABLE [dbo].[tblRoot] (
|
||||
[Name] [varchar] (2048) NOT NULL ,
|
||||
[Export] [bit] NOT NULL ,
|
||||
[Protected] [varchar] (4048) NOT NULL ,
|
||||
[Name] [varchar] (2048) NOT NULL,
|
||||
[Export] [bit] NOT NULL,
|
||||
[Protected] [varchar] (4048) NOT NULL,
|
||||
[ConfVersion] [varchar] (15) NOT NULL
|
||||
) ON [PRIMARY]
|
||||
|
||||
@@ -396,8 +396,8 @@ CREATE TABLE `tblCons` (
|
||||
`RDPAuthenticationLevel` varchar(32) NOT NULL,
|
||||
`RDPMinutesToIdleTimeout` int(11) NOT NULL,
|
||||
`RdpVersion` varchar(10) DEFAULT NULL,
|
||||
`RedirectAudioCapture` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`RedirectClipboard` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`RedirectAudioCapture` tinyint(1) NOT NULL,
|
||||
`RedirectClipboard` tinyint(1) NOT NULL,
|
||||
`RedirectDiskDrives` tinyint(1) NOT NULL,
|
||||
`RedirectKeys` tinyint(1) NOT NULL,
|
||||
`RedirectPorts` tinyint(1) NOT NULL,
|
||||
@@ -410,8 +410,8 @@ CREATE TABLE `tblCons` (
|
||||
`SSHTunnelConnectionName` varchar(128) NOT NULL,
|
||||
`SoundQuality` varchar(20) NOT NULL,
|
||||
`UseCredSsp` tinyint(1) NOT NULL,
|
||||
`UseEnhancedMode` tinyint(1) DEFAULT 0,
|
||||
`UseVmId` tinyint(1) DEFAULT 0,
|
||||
`UseEnhancedMode` tinyint(1) NOT NULL,
|
||||
`UseVmId` tinyint(1) NOT NULL,
|
||||
`UserField` varchar(256) DEFAULT NULL,
|
||||
`Username` varchar(512) DEFAULT NULL,
|
||||
`VNCAuthMode` varchar(10) DEFAULT NULL,
|
||||
@@ -427,7 +427,7 @@ CREATE TABLE `tblCons` (
|
||||
`VNCViewOnly` tinyint(1) NOT NULL,
|
||||
`VmId` varchar(512) DEFAULT NULL,
|
||||
`ICAEncryptionStrength` varchar(32) NOT NULL,
|
||||
`InheritAutomaticResize` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritAutomaticResize` tinyint(1) NOT NULL,
|
||||
`InheritCacheBitmaps` tinyint(1) NOT NULL,
|
||||
`InheritColors` tinyint(1) NOT NULL,
|
||||
`InheritDescription` tinyint(1) NOT NULL,
|
||||
@@ -444,7 +444,7 @@ CREATE TABLE `tblCons` (
|
||||
`InheritFavorite` tinyint(1) NOT NULL,
|
||||
`InheritICAEncryptionStrength` tinyint(1) NOT NULL,
|
||||
`InheritIcon` tinyint(1) NOT NULL,
|
||||
`InheritLoadBalanceInfo` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritLoadBalanceInfo` tinyint(1) NOT NULL,
|
||||
`InheritMacAddress` tinyint(1) NOT NULL,
|
||||
`InheritOpeningCommand` tinyint(1) NOT NULL,
|
||||
`InheritPanel` tinyint(1) NOT NULL,
|
||||
@@ -459,15 +459,15 @@ CREATE TABLE `tblCons` (
|
||||
`InheritRDGatewayPassword` tinyint(1) NOT NULL,
|
||||
`InheritRDGatewayUsageMethod` tinyint(1) NOT NULL,
|
||||
`InheritRDGatewayUseConnectionCredentials` tinyint(1) NOT NULL,
|
||||
`InheritRDGatewayExternalCredentialProvider` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritRDGatewayExternalCredentialProvider` tinyint(1) NOT NULL,
|
||||
`InheritRDGatewayUsername` tinyint(1) NOT NULL,
|
||||
`InheritRDGatewayUserViaAPI` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritRDGatewayUserViaAPI` tinyint(1) NOT NULL,
|
||||
`InheritRDPAlertIdleTimeout` tinyint(1) NOT NULL,
|
||||
`InheritRDPAuthenticationLevel` tinyint(1) NOT NULL,
|
||||
`InheritRDPMinutesToIdleTimeout` tinyint(1) NOT NULL,
|
||||
`InheritRdpVersion` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritRedirectAudioCapture` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritRedirectClipboard` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritRdpVersion` tinyint(1) NOT NULL,
|
||||
`InheritRedirectAudioCapture` tinyint(1) NOT NULL,
|
||||
`InheritRedirectClipboard` tinyint(1) NOT NULL,
|
||||
`InheritRedirectDiskDrives` tinyint(1) NOT NULL,
|
||||
`InheritRedirectKeys` tinyint(1) NOT NULL,
|
||||
`InheritRedirectPorts` tinyint(1) NOT NULL,
|
||||
@@ -483,8 +483,8 @@ CREATE TABLE `tblCons` (
|
||||
`InheritUseCredSsp` tinyint(1) NOT NULL,
|
||||
`InheritUseRestrictedAdmin` tinyint(1) NOT NULL,
|
||||
`InheritUseRCG` tinyint(1) NOT NULL,
|
||||
`InheritExternalCredentialProvider` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritUserViaAPI` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`InheritExternalCredentialProvider` tinyint(1) NOT NULL,
|
||||
`InheritUserViaAPI` tinyint(1) NOT NULL,
|
||||
`UseRestrictedAdmin` tinyint(1) NOT NULL,
|
||||
`UseRCG` tinyint(1) NOT NULL,
|
||||
`InheritUseEnhancedMode` tinyint(1) DEFAULT NULL,
|
||||
@@ -502,7 +502,7 @@ CREATE TABLE `tblCons` (
|
||||
`InheritVNCProxyUsername` tinyint(1) NOT NULL,
|
||||
`InheritVNCSmartSizeMode` tinyint(1) NOT NULL,
|
||||
`InheritVNCViewOnly` tinyint(1) NOT NULL,
|
||||
`InheritVmId` tinyint(1) DEFAULT 0,
|
||||
`InheritVmId` tinyint(1) NOT NULL,
|
||||
`StartProgram` varchar(512) DEFAULT NULL,
|
||||
`StartProgramWorkDir` varchar(512) DEFAULT NULL,
|
||||
`EC2Region` varchar(32) DEFAULT NULL,
|
||||
|
||||
Reference in New Issue
Block a user