scheme for saving sensor data
This commit is contained in:
parent
a44284b9b1
commit
5935064606
3 changed files with 23 additions and 1 deletions
|
@ -2,6 +2,7 @@ import { db } from "$lib/server/db";
|
|||
import * as table from "$lib/server/db/schema";
|
||||
import { eq } from "drizzle-orm";
|
||||
import type { PageServerLoad } from "./$types";
|
||||
import { connect } from "mqtt";
|
||||
|
||||
export const load: PageServerLoad = async ({ params }) => {
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue