Change hydrate

This commit is contained in:
Owen Schwartz 2024-09-29 15:43:52 -04:00
parent 6d843fb22c
commit 286d743ce3
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

View file

@ -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",
}, },
{ {