fix: resolve TS error in seed.ts + use compose.deploy for CI
This commit is contained in:
@@ -12,7 +12,7 @@ async function seed() {
|
||||
SELECT tablename FROM pg_tables WHERE schemaname = 'public'
|
||||
`);
|
||||
|
||||
for (const row of tables.rows) {
|
||||
for (const row of tables as any) {
|
||||
const table = (row as any).tablename;
|
||||
if (table.startsWith('__drizzle') || table.startsWith('pgboss')) continue;
|
||||
console.log(` Truncating ${table}...`);
|
||||
|
||||
Reference in New Issue
Block a user