@famgia/omnify-cli 0.0.167 → 0.0.169
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/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -348,7 +348,7 @@ async function resolveConfig(userConfig, configPath) {
|
|
|
348
348
|
};
|
|
349
349
|
const database = userConfig.database.devUrl !== void 0 ? { ...databaseConfig, devUrl: userConfig.database.devUrl } : databaseConfig;
|
|
350
350
|
const laravelConfig = {
|
|
351
|
-
migrationsPath: userConfig.output?.laravel?.migrationsPath ?? "database/migrations"
|
|
351
|
+
migrationsPath: userConfig.output?.laravel?.migrationsPath ?? "database/migrations/omnify"
|
|
352
352
|
};
|
|
353
353
|
const laravel = buildLaravelConfig(laravelConfig, userConfig.output?.laravel);
|
|
354
354
|
const tsConfig = userConfig.output?.typescript;
|
|
@@ -792,7 +792,7 @@ async function runInit(options) {
|
|
|
792
792
|
database: "mysql",
|
|
793
793
|
migrationTool: "laravel",
|
|
794
794
|
generateTypes: true,
|
|
795
|
-
migrationsPath: "database/migrations",
|
|
795
|
+
migrationsPath: "database/migrations/omnify",
|
|
796
796
|
typesPath: "resources/js/types",
|
|
797
797
|
schemasDir: "./schemas"
|
|
798
798
|
};
|
|
@@ -823,7 +823,7 @@ async function runInit(options) {
|
|
|
823
823
|
default: true
|
|
824
824
|
});
|
|
825
825
|
const defaultPaths = {
|
|
826
|
-
laravel: { migrations: "database/migrations", types: "resources/js/types" },
|
|
826
|
+
laravel: { migrations: "database/migrations/omnify", types: "resources/js/types" },
|
|
827
827
|
prisma: { migrations: "prisma/migrations", types: "src/types" },
|
|
828
828
|
drizzle: { migrations: "drizzle", types: "src/types" },
|
|
829
829
|
none: { migrations: "", types: "types" }
|