fix: badge and timescaleDB changes
This commit is contained in:
1 parent
5791bdd5e7
commit
99a5aa1722
5 files changed
+10
-15
No files matched your search
@@ -3,7 +3,7 @@ import type { Pool } from "pg";
|
||||
export const addStrategyToMonitors = async (pool: Pool) => {
|
||||
await pool.query(`
|
||||
ALTER TABLE monitors
|
||||
ADD COLUMN IF NOT EXISTS strategy TEXT DEFAULT 'desktop';
|
||||
ADD COLUMN IF NOT EXISTS strategy TEXT DEFAULT NULL;
|
||||
`);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user