forked from unimatrix/web
Build the new public staff directory and audited Great Migration appointments
This commit is contained in:
parent
04532cb7ec
commit
fc9549ee71
1 changed files with 181 additions and 29 deletions
|
|
@ -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.
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff