drizzle-kit 0.19.9-cc05443 → 0.19.9
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/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 = ["public"]) => {
|
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 = ["public"]) => {
|
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));
|