@famgia/omnify-laravel 0.0.63 → 0.0.65
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/{chunk-VDTFK4UL.js → chunk-4KBDUQFK.js} +2 -2
- package/dist/chunk-4KBDUQFK.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-VDTFK4UL.js.map +0 -1
package/dist/index.js
CHANGED
package/dist/plugin.cjs
CHANGED
|
@@ -385,7 +385,7 @@ function expandCompoundType(propName, property, customTypes, options = {}) {
|
|
|
385
385
|
function schemaToBlueprint(schema, allSchemas, options = {}) {
|
|
386
386
|
const { customTypes = /* @__PURE__ */ new Map(), locale } = options;
|
|
387
387
|
const columnOptions = { locale };
|
|
388
|
-
const tableName = toTableName(schema.name);
|
|
388
|
+
const tableName = schema.options?.tableName ?? toTableName(schema.name);
|
|
389
389
|
const columns = [];
|
|
390
390
|
const foreignKeys = [];
|
|
391
391
|
const indexes = [];
|