astro
astro
Explore posts from servers
DTDrizzle Team
Created by astro on 10/31/2024 in #help
database design suggestions
No description
1 replies
DTDrizzle Team
Created by astro on 7/5/2024 in #help
drizzle not showing columns
No description
2 replies
DTDrizzle Team
Created by astro on 5/30/2024 in #help
drizzle + turso config
No description
4 replies
DTDrizzle Team
Created by astro on 5/18/2024 in #help
serial type invalid in psql
im trying to use serial type for my id column to enable auto-incremental id, but when migrating the schema it throws error saying type "serial" doesnt exist
import { serial, boolean, text, pgTable } from "drizzle-orm/pg-core";

export const todos = pgTable("todos", {
id: serial("id").primaryKey(),
content: text("content").notNull(),
completed: boolean("completed").default(false).notNull(),
});
import { serial, boolean, text, pgTable } from "drizzle-orm/pg-core";

export const todos = pgTable("todos", {
id: serial("id").primaryKey(),
content: text("content").notNull(),
completed: boolean("completed").default(false).notNull(),
});
1 replies
TtRPC
Created by astro on 5/13/2024 in #❓-help
trpc + server actions
No description
5 replies