Heftig rekatorering
This commit is contained in:
parent
35ecc5f7a7
commit
3261e4c3bf
1 changed files with 0 additions and 6 deletions
|
|
@ -1,11 +1,5 @@
|
||||||
import type { Handle, ServerInit } from '@sveltejs/kit';
|
import type { Handle, ServerInit } from '@sveltejs/kit';
|
||||||
import { dev } from '$app/environment';
|
import { dev } from '$app/environment';
|
||||||
import { db } from '$lib/db';
|
|
||||||
|
|
||||||
export const init: ServerInit = async () => {
|
|
||||||
await db.createTables();
|
|
||||||
console.log('Tables created');
|
|
||||||
};
|
|
||||||
|
|
||||||
// The handle function runs on every request
|
// The handle function runs on every request
|
||||||
export const handle: Handle = async ({ event, resolve }) => {
|
export const handle: Handle = async ({ event, resolve }) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue