Eslint fix

This commit is contained in:
Owen
2025-09-11 10:27:02 -07:00
parent 819d7ea23e
commit ef6efe94b4
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ export default async function migration() {
await db.execute(sql`ALTER TABLE "userOrgs" ADD COLUMN "autoProvisioned" boolean DEFAULT false;`);
let usedNiceIds: string[] = [];
const usedNiceIds: string[] = [];
for (const resource of resources.rows) {
// Generate a unique name and ensure it's unique

View File

@@ -12,7 +12,7 @@ export default async function migration() {
const db = new Database(location);
const resourceSiteMap = new Map<number, number>();
let firstSiteId: number = 1;
const firstSiteId: number = 1;
try {
const resources = db
@@ -29,7 +29,7 @@ export default async function migration() {
ALTER TABLE 'userOrgs' ADD 'autoProvisioned' integer DEFAULT false;
`); // this diverges from the schema a bit because the schema does not have a default on niceId but was required for the migration and I dont think it will effect much down the line...
let usedNiceIds: string[] = [];
const usedNiceIds: string[] = [];
for (const resourceId of resources) {
// Generate a unique name and ensure it's unique