File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed
Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 33
44namespace DbUp . ClickHouse ;
55
6+ /// <summary>
7+ /// Configuration extension methods for ClickHouse.
8+ /// </summary>
69public static class ClickHouseExtensions
710{
11+ /// <summary>
12+ /// Creates an upgrader for ClickHouse databases.
13+ /// </summary>
14+ /// <param name="supportedDatabases">Fluent helper type.</param>
15+ /// <param name="connectionString">ClickHouse database connection string.</param>
16+ /// <returns>
17+ /// A builder for a database upgrader designed for ClickHouse databases.
18+ /// </returns>
819 public static UpgradeEngineBuilder ClickHouseDatabase ( this SupportedDatabases supportedDatabases , string connectionString )
920 {
1021 throw new NotImplementedException ( ) ;
Original file line number Diff line number Diff line change 66
77namespace DbUp . ClickHouse ;
88
9+ /// <summary>
10+ /// An implementation of the <see cref="IJournal"/> interface for ClickHouse databases.
11+ /// </summary>
12+ /// <remarks>
13+ /// Initializes a new instance of the <see cref="ClickHouseJournal"/> class.
14+ /// </remarks>
15+ /// <param name="connectionManagerFactory">The connection manager factory.</param>
16+ /// <param name="logFactory">The log factory.</param>
17+ /// <param name="tableName">The name of the table.</param>
918public class ClickHouseJournal (
1019// Remove pragma once implemented
1120#pragma warning disable CS9113 // Parameter is unread.
@@ -15,9 +24,12 @@ string tableName
1524#pragma warning restore CS9113 // Parameter is unread.
1625 ) : IJournal
1726{
27+ /// <inheritdoc/>
1828 public string [ ] GetExecutedScripts ( ) => throw new NotImplementedException ( ) ;
1929
30+ /// <inheritdoc/>
2031 public void StoreExecutedScript ( SqlScript script , Func < IDbCommand > dbCommandFactory ) => throw new NotImplementedException ( ) ;
2132
33+ /// <inheritdoc/>
2234 public void EnsureTableExistsAndIsLatestVersion ( Func < IDbCommand > dbCommandFactory ) => throw new NotImplementedException ( ) ;
2335}
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
44 <Description >DbUp makes it easy to deploy and upgrade SQL Server databases. This package adds ClickHouse support.</Description >
1414 <SignAssembly >true</SignAssembly >
1515 <RepositoryUrl >https://github.com/DbUp/dbup-clickhouse.git</RepositoryUrl >
1616 <PackageIcon >dbup-icon.png</PackageIcon >
17+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
1718 </PropertyGroup >
1819
1920 <ItemGroup >
You can’t perform that action at this time.
0 commit comments