mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-14 17:06:39 +00:00
Merge dev into fix/log-analytics-adjustments
This commit is contained in:
@@ -112,7 +112,6 @@ export default async function migration() {
|
||||
`
|
||||
).run();
|
||||
|
||||
|
||||
db.prepare(
|
||||
`
|
||||
CREATE TABLE 'blueprints' (
|
||||
@@ -212,10 +211,14 @@ export default async function migration() {
|
||||
db.prepare(
|
||||
`ALTER TABLE 'user' ADD 'lastPasswordChange' integer;`
|
||||
).run();
|
||||
db.prepare(`ALTER TABLE 'remoteExitNode' ADD 'secondaryVersion' text;`).run();
|
||||
db.prepare(
|
||||
`ALTER TABLE 'remoteExitNode' ADD 'secondaryVersion' text;`
|
||||
).run();
|
||||
|
||||
// get all of the domains
|
||||
const domains = db.prepare(`SELECT domainId, baseDomain from domains`).all() as {
|
||||
const domains = db
|
||||
.prepare(`SELECT domainId, baseDomain from domains`)
|
||||
.all() as {
|
||||
domainId: number;
|
||||
baseDomain: string;
|
||||
}[];
|
||||
|
||||
Reference in New Issue
Block a user