This file contains hidden or 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
CREATE TABLE [dbo].[TeamSettingsTaskBoardColumns]( | |
[TeamSettingsTaskBoardColumnsId] [int] IDENTITY(1,1), | |
[TeamProjectName] [varchar](100) NOT NULL, | |
[TeamName] [varchar](100) NOT NULL, | |
[TeamSettingsTaskBoardColumnName] [varchar](50) NOT NULL, | |
[TeamSettingsTaskBoardColumnOrder][TINYINT] NOT NULL, | |
CONSTRAINT [PK_TeamSettingsTaskBoardColumns] PRIMARY KEY CLUSTERED | |
( | |
[TeamSettingsTaskBoardColumnsId] ASC | |
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] |
This file contains hidden or 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
Param | |
( | |
[string]$PAT, | |
[string]$Organization, | |
[string]$ConnStr | |
) | |
$SQLQuery = "DELETE FROM TeamSettingsTaskBoardColumnsWorkItemType" | |
Invoke-Sqlcmd -query $SQLQuery -ConnectionString $Connstr |
This file contains hidden or 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
CREATE TABLE [dbo].[TeamSettingsBoards]( | |
[TeamSettingBoardsId] [int] IDENTITY(1,1), | |
[TeamProjectName] [varchar](100) NOT NULL, | |
[TeamName] [varchar](100) NOT NULL, | |
[TeamBackLogLevel] [varchar](50) NOT NULL, | |
CONSTRAINT [PK_TeamSettingsBoards] PRIMARY KEY CLUSTERED | |
( | |
[TeamSettingBoardsId] ASC | |
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] | |
) ON [PRIMARY] |
This file contains hidden or 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
Param | |
( | |
[string]$PAT, | |
[string]$Organization, | |
[string]$ConnStr | |
) | |
$SQLQuery = "DELETE FROM TeamSettingsBoardLanes" | |
Invoke-Sqlcmd -query $SQLQuery -ConnectionString $Connstr |
This file contains hidden or 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
CREATE TABLE [dbo].[TeamSettings]( | |
[TeamSettingId] [int] IDENTITY(1,1), | |
[TeamProjectName] [varchar](100) NOT NULL, | |
[TeamName] [varchar](100) NOT NULL, | |
[TeamWorkingWithBugs] [varchar](20) NOT NULL, | |
CONSTRAINT [PK_TeamSettings] PRIMARY KEY CLUSTERED | |
( | |
[TeamSettingId] ASC | |
)WITH (STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] | |
) ON [PRIMARY] |
This file contains hidden or 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
Param | |
( | |
[string]$PAT, | |
[string]$Organization, | |
[string]$ConnStr | |
) | |
$SQLQuery = "DELETE FROM TeamSettingsBackLogLevels" | |
Invoke-Sqlcmd -query $SQLQuery -ConnectionString $Connstr |
This file contains hidden or 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
CREATE TABLE [dbo].[EnvironmentsApprovalsChecks]( | |
[TeamProjectName] [varchar](100) NULL, | |
[EnvironmentId] [int] NULL, | |
[EnvironmentName] [varchar](150) NULL, | |
[EnvironmentCheckName] [varchar](100) NULL, | |
[EnvironmentCheckDisplayName] [varchar](100) NULL | |
) ON [PRIMARY] | |
GO |
This file contains hidden or 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
Param | |
( | |
[string]$PAT, | |
[string]$Organization, | |
[string]$Connstr | |
) | |
$SQLQuery = "TRUNCATE TABLE EnvironmentsApprovalsChecks" | |
Invoke-Sqlcmd -query $SQLQuery -ConnectionString $Connstr |
This file contains hidden or 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
CREATE TABLE [dbo].[ReposAheadBehind]( | |
[TeamProjectName] [varchar](100) NULL, | |
[RepositoryId] [varchar](40) NULL, | |
[RepositoryName] [varchar](150) NULL, | |
[RepositoryBranchName] [nvarchar](max) NULL, | |
[RepositoryBranchAheadCount] [int] NULL, | |
[RepositoryBranchBehindCount] [int] NULL, | |
[RepositoryBranchIsBaseVersion] [bit] NULL | |
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] | |
GO |
This file contains hidden or 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
Param | |
( | |
[string]$PAT, | |
[string]$Organization, | |
[string]$Connstr | |
) | |
$SQLQuery = "TRUNCATE TABLE ReposAheadBehind" | |
Invoke-Sqlcmd -query $SQLQuery -ConnectionString $Connstr |