Update ClickHose

This commit is contained in:
sunkaixuan 2022-08-14 02:24:14 +08:00
parent daed5082b1
commit f867559e89

View File

@ -138,7 +138,7 @@ namespace SqlSugar.ClickHouse
return "ALTER TABLE {0} RENAME {1} TO {2}";
}
}
protected override string AddColumnRemarkSql => "comment on column {1}.{0} is '{2}'";
protected override string AddColumnRemarkSql => "ALTER TABLE {1} COMMENT COLUMN {0} '{2}'";
protected override string DeleteColumnRemarkSql => "comment on column {1}.{0} is ''";