mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-25 13:15:02 +02:00
Change hydrate
This commit is contained in:
parent
6d843fb22c
commit
286d743ce3
1 changed files with 8 additions and 8 deletions
|
@ -14,8 +14,8 @@ async function insertDummyData() {
|
||||||
const org1 = db
|
const org1 = db
|
||||||
.insert(orgs)
|
.insert(orgs)
|
||||||
.values({
|
.values({
|
||||||
name: "Fosrl",
|
name: "Fossorial",
|
||||||
domain: "fosrl.io",
|
domain: "localhost",
|
||||||
})
|
})
|
||||||
.returning()
|
.returning()
|
||||||
.get();
|
.get();
|
||||||
|
@ -23,8 +23,8 @@ async function insertDummyData() {
|
||||||
const org2 = db
|
const org2 = db
|
||||||
.insert(orgs)
|
.insert(orgs)
|
||||||
.values({
|
.values({
|
||||||
name: "Fossorial",
|
name: "Fosrl",
|
||||||
domain: "fossorial.io",
|
domain: "fosrl.io",
|
||||||
})
|
})
|
||||||
.returning()
|
.returning()
|
||||||
.get();
|
.get();
|
||||||
|
@ -146,15 +146,15 @@ async function insertDummyData() {
|
||||||
{
|
{
|
||||||
resourceId: resource1.resourceId,
|
resourceId: resource1.resourceId,
|
||||||
ip: "10.0.0.16",
|
ip: "10.0.0.16",
|
||||||
method: "https",
|
method: "http",
|
||||||
port: 443,
|
port: 80,
|
||||||
protocol: "TCP",
|
protocol: "TCP",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
resourceId: resource2.resourceId,
|
resourceId: resource2.resourceId,
|
||||||
ip: "10.0.0.17",
|
ip: "10.0.0.17",
|
||||||
method: "http",
|
method: "https",
|
||||||
port: 80,
|
port: 443,
|
||||||
protocol: "TCP",
|
protocol: "TCP",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue