Luka
Luka
Explore posts from servers
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
seems to be a weird issue
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
come up with this
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
export const initialMigration = () => {
const migrationsFolder = path.resolve(
process.cwd(),
"../../packages/db-web/drizzle",
);

return migrate(db, { migrationsFolder });
};
export const initialMigration = () => {
const migrationsFolder = path.resolve(
process.cwd(),
"../../packages/db-web/drizzle",
);

return migrate(db, { migrationsFolder });
};
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
rather than the project root
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
since the dev is running in a .next folder
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
tried getting it thru absolute paths rather than relative one but __dirname doesnt work with nextjs
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
found one other as well
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
yeah
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
but is called from the app
18 replies
DTDrizzle Team
Created by Luka on 7/10/2024 in #help
monorepo migration folder bundling
initialMigration declaration is in the package
18 replies