A_Dev
DTDrizzle Team
•Created by A_Dev on 11/28/2023 in #help
Push with schema in separate files
Yeah they are. Much appreciated I’ll give that a shot!
13 replies
DTDrizzle Team
•Created by A_Dev on 11/28/2023 in #help
Push with schema in separate files
Tried it with the simple example in docs too and it still doesn’t work ‘import { serial, text, pgTable, pgSchema } from "drizzle-orm/pg-core";
export const mySchema = pgSchema("my_schema")
export const mySchemaUsers = mySchema.table('users', {
id: serial('id').primaryKey(),
name: text('name'),
});’
13 replies