mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-29 06:10:47 +00:00
Move to string ordId
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user