New columns

This commit is contained in:
Owen
2026-04-23 20:30:34 -07:00
parent 009bac64bf
commit 07c7501669
2 changed files with 19 additions and 0 deletions

View File

@@ -330,6 +330,17 @@ export default async function migration() {
ALTER TABLE 'sites' ADD 'networkId' integer REFERENCES networks(networkId);
`
).run();
db.prepare(
`
ALTER TABLE 'resources' ADD 'health' text;
`
).run();
db.prepare(
`
ALTER TABLE 'resources' ADD 'wildcard' integer DEFAULT false NOT NULL;
`
).run();
})();
db.pragma("foreign_keys = ON");