fix(core): update
This commit is contained in:
parent
2af84de938
commit
100cba8d74
@ -41,7 +41,7 @@ export class TimeDataTable {
|
|||||||
// lets adjust the TTL
|
// lets adjust the TTL
|
||||||
await smartClickHouseDbRefArg.clickhouseClient
|
await smartClickHouseDbRefArg.clickhouseClient
|
||||||
.queryPromise(`
|
.queryPromise(`
|
||||||
ALTER TABLE ${newTable.tableName} MODIFY TTL toDateTime(timestamp) + INTERVAL 2 DAY
|
ALTER TABLE ${newTable.tableName} MODIFY TTL toDateTime(timestamp) + INTERVAL 1 MONTH
|
||||||
`);
|
`);
|
||||||
|
|
||||||
await newTable.updateColumns();
|
await newTable.updateColumns();
|
||||||
|
Loading…
Reference in New Issue
Block a user