ashishansurkar
DTDrizzle Team
•Created by ashishansurkar on 1/19/2024 in #help
Insert on migration
Can we insert some data if table is empty while running migration?
6 replies
DTDrizzle Team
•Created by ashishansurkar on 1/8/2024 in #help
how to define postgres schema (other than 'public') while setting up with drizzle-orm/node-postgres
I have this code :
import { integer, serial, text, pgTable } from 'drizzle-orm/pg-core';
export const users = pgTable('prod.users', {
id: serial('id').primaryKey(),
email: text('email'),
});
But getting error : relation "prod.users" does not exist
8 replies