Lint code

This commit is contained in:
2024-07-24 01:54:48 +02:00
parent 5c96b8eea0
commit f18bd1fd98
22 changed files with 13391 additions and 38 deletions

View File

@@ -2,7 +2,8 @@ import { consola } from 'consola'
import { migrate } from 'drizzle-orm/d1/migrator'
export default defineNitroPlugin(async () => {
if (!import.meta.dev) return
if (!import.meta.dev)
return
onHubReady(async () => {
await migrate(useDB(), { migrationsFolder: 'server/database/migrations' })