Build the new public staff directory and audited Great Migration appointments

This commit is contained in:
unimatrixgit 2026-11-15 02:31:58 +01:00
commit fc9549ee71

View file

@ -1,3 +1,4 @@
import {NATIVE_SYNC_SCHEMA} from './native-sync-schema.mjs';
// Central assignment vocabulary. This catalogue never grants permissions by itself.
export const ORGANISATION = [
{key:'community_operations',label:'Community Operations',branches:[
@ -74,7 +75,7 @@ export const organisationSchema = [
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`
];
export async function initializeOrganisation(db){
for(const sql of organisationSchema)await db.prepare(sql).run();
for(const sql of [...organisationSchema,NATIVE_SYNC_SCHEMA])await db.prepare(sql).run();
// No automatic appointments, account rewrites, rank resets or game grants.
}