mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-02 00:55:48 +02:00
Move to string ordId
This commit is contained in:
parent
0f3dada6cc
commit
9abb656d52
16 changed files with 28 additions and 26 deletions
|
@ -14,24 +14,26 @@ async function insertDummyData() {
|
|||
const org1 = db
|
||||
.insert(orgs)
|
||||
.values({
|
||||
orgId: "default",
|
||||
name: "Default",
|
||||
domain: "fosrl.io",
|
||||
})
|
||||
.returning()
|
||||
.get();
|
||||
|
||||
await createSuperuserRole(org1.orgId);
|
||||
await createSuperuserRole(org1.orgId!);
|
||||
|
||||
const org2 = db
|
||||
.insert(orgs)
|
||||
.values({
|
||||
orgId: "fossorial",
|
||||
name: "Fossorial",
|
||||
domain: "fossorial.io",
|
||||
})
|
||||
.returning()
|
||||
.get();
|
||||
|
||||
await createSuperuserRole(org2.orgId);
|
||||
await createSuperuserRole(org2.orgId!);
|
||||
|
||||
// Insert dummy exit nodes
|
||||
const exitNode1 = db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue