playcademy 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5338,7 +5338,6 @@ function generateEntryCode(customRoutes, customRoutesDir) {
|
|
|
5338
5338
|
init_core();
|
|
5339
5339
|
import { existsSync as existsSync9 } from "fs";
|
|
5340
5340
|
import { join as join8 } from "path";
|
|
5341
|
-
import { generateSQLiteDrizzleJson, generateSQLiteMigration } from "drizzle-kit/api";
|
|
5342
5341
|
|
|
5343
5342
|
// src/lib/init/prompts.ts
|
|
5344
5343
|
init_constants3();
|
|
@@ -5598,6 +5597,7 @@ async function getSchemaInfo(previousSchemaSnapshot) {
|
|
|
5598
5597
|
return null;
|
|
5599
5598
|
}
|
|
5600
5599
|
try {
|
|
5600
|
+
const { generateSQLiteDrizzleJson, generateSQLiteMigration } = await import("drizzle-kit/api");
|
|
5601
5601
|
const schemaModule = await import(schemaPath);
|
|
5602
5602
|
const currentSchema = schemaModule.default || schemaModule;
|
|
5603
5603
|
const nextJson = await generateSQLiteDrizzleJson(currentSchema);
|