chore:little fixes and formating and linting and patches

This commit is contained in:
2026-03-31 15:50:54 +02:00
parent a1ce71ffb6
commit 9b197abcfa
815 changed files with 22960 additions and 8982 deletions

View File

@@ -13,21 +13,21 @@ export async function up() {
...addColumns(
'events',
['`revenue` UInt64 AFTER `referrer_type`'],
isClustered,
isClustered
),
];
fs.writeFileSync(
path.join(__filename.replace('.ts', '.sql')),
path.join(import.meta.filename.replace('.ts', '.sql')),
sqls
.map((sql) =>
sql
.trim()
.replace(/;$/, '')
.replace(/\n{2,}/g, '\n')
.concat(';'),
.concat(';')
)
.join('\n\n---\n\n'),
.join('\n\n---\n\n')
);
if (!process.argv.includes('--dry')) {