drizzle-kit 0.19.9-4e06491 → 0.19.9-cc05443
Sign up to get free protection for your applications and to get access to all the features.
- package/index.cjs +2 -2
- package/package.json +1 -1
package/index.cjs
CHANGED
@@ -12060,7 +12060,7 @@ var init_pgSerializer = __esm({
|
|
12060
12060
|
indexName2 = (tableName, columns) => {
|
12061
12061
|
return `${tableName}_${columns.join("_")}_index`;
|
12062
12062
|
};
|
12063
|
-
generatePgSnapshot = (tables, enums, schemas, schemaFilter = [
|
12063
|
+
generatePgSnapshot = (tables, enums, schemas, schemaFilter = []) => {
|
12064
12064
|
const result = {};
|
12065
12065
|
for (const table4 of tables) {
|
12066
12066
|
const {
|
@@ -13091,7 +13091,7 @@ ${filenames.join("\n")}
|
|
13091
13091
|
const { tables, enums, schemas } = await prepareFromMySqlImports2(filenames);
|
13092
13092
|
return generateMySqlSnapshot2(tables, enums, schemas);
|
13093
13093
|
};
|
13094
|
-
serializePg = async (path3, schemaFilter = [
|
13094
|
+
serializePg = async (path3, schemaFilter = []) => {
|
13095
13095
|
const filenames = prepareFilenames(path3);
|
13096
13096
|
const { prepareFromPgImports: prepareFromPgImports2 } = await Promise.resolve().then(() => (init_pgImports(), pgImports_exports));
|
13097
13097
|
const { generatePgSnapshot: generatePgSnapshot2 } = await Promise.resolve().then(() => (init_pgSerializer(), pgSerializer_exports));
|