@famgia/omnify-laravel 0.0.107 → 0.0.108

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
@@ -31,7 +31,7 @@ import {
31
31
  shouldGenerateAIGuides,
32
32
  toColumnName,
33
33
  toTableName
34
- } from "./chunk-7YHLXBF5.js";
34
+ } from "./chunk-GDFAEEEG.js";
35
35
  export {
36
36
  extractManyToManyRelations,
37
37
  extractMorphToManyRelations,
package/dist/plugin.cjs CHANGED
@@ -783,6 +783,16 @@ function generateCreateMigration(blueprint, options = {}) {
783
783
  const indexContent = renderIndexes(blueprint);
784
784
  const content = `<?php
785
785
 
786
+ /**
787
+ * DO NOT EDIT - This file is auto-generated by Omnify.
788
+ * Any changes will be overwritten on next generation.
789
+ *
790
+ * To modify the schema, edit the corresponding YAML file in schemas/
791
+ * and run: npx omnify generate
792
+ *
793
+ * @generated by @famgia/omnify-laravel
794
+ */
795
+
786
796
  use Illuminate\\Database\\Migrations\\Migration;
787
797
  use Illuminate\\Database\\Schema\\Blueprint;
788
798
  use Illuminate\\Support\\Facades\\Schema;
@@ -1086,6 +1096,16 @@ function generateAlterMigrationContent(tableName, change, options = {}) {
1086
1096
  ` : "";
1087
1097
  return `<?php
1088
1098
 
1099
+ /**
1100
+ * DO NOT EDIT - This file is auto-generated by Omnify.
1101
+ * Any changes will be overwritten on next generation.
1102
+ *
1103
+ * To modify the schema, edit the corresponding YAML file in schemas/
1104
+ * and run: npx omnify generate
1105
+ *
1106
+ * @generated by @famgia/omnify-laravel
1107
+ */
1108
+
1089
1109
  use Illuminate\\Database\\Migrations\\Migration;
1090
1110
  use Illuminate\\Database\\Schema\\Blueprint;
1091
1111
  use Illuminate\\Support\\Facades\\Schema;
@@ -1143,6 +1163,13 @@ function generateDropTableMigration(schemaName, options = {}) {
1143
1163
  ` : "";
1144
1164
  const content = `<?php
1145
1165
 
1166
+ /**
1167
+ * DO NOT EDIT - This file is auto-generated by Omnify.
1168
+ * Any changes will be overwritten on next generation.
1169
+ *
1170
+ * @generated by @famgia/omnify-laravel
1171
+ */
1172
+
1146
1173
  use Illuminate\\Database\\Migrations\\Migration;
1147
1174
  use Illuminate\\Database\\Schema\\Blueprint;
1148
1175
  use Illuminate\\Support\\Facades\\Schema;