@famgia/omnify-laravel 0.0.63 → 0.0.64

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 CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  schemaToBlueprint,
25
25
  toColumnName,
26
26
  toTableName
27
- } from "./chunk-VDTFK4UL.js";
27
+ } from "./chunk-4KBDUQFK.js";
28
28
  export {
29
29
  formatColumnMethod,
30
30
  formatForeignKey,
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 = [];