prisma-laravel-migrate 0.0.41 → 0.0.44
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/README.md
CHANGED
|
@@ -308,10 +308,10 @@ export const rules = [
|
|
|
308
308
|
indexRule,
|
|
309
309
|
//----
|
|
310
310
|
idRule,
|
|
311
|
-
timestampsTzRule,
|
|
312
311
|
timestampsRule,
|
|
313
|
-
|
|
312
|
+
timestampsTzRule,
|
|
314
313
|
softDeletesRule,
|
|
314
|
+
softDeletesTzRule,
|
|
315
315
|
rememberTokenRule,
|
|
316
316
|
foreignIdRule,
|
|
317
317
|
morphsMergeRule, // <— added back
|
|
@@ -92,8 +92,6 @@ export async function generateLaravelModels(options) {
|
|
|
92
92
|
else
|
|
93
93
|
model.imports = imports;
|
|
94
94
|
//---
|
|
95
|
-
model.tableName = `${cfg.tablePrefix}${model.tableName}${cfg.tableSuffix}`;
|
|
96
|
-
//---
|
|
97
95
|
model.imports = Array.from(new Set(model.imports));
|
|
98
96
|
//----
|
|
99
97
|
const content = buildModelContent(model);
|