B00MParry
B00MParry
TTCTheo's Typesafe Cult
Created by B00MParry on 10/24/2023 in #questions
Error when pushing twice to planetscale when using T3 stack with drizzle
After setting up a basic app with drizzle, running the first pnpm db:push works fine. But when I run pnpm db:push again, I get the following error: target: drizzle-test.-.primary: vttablet: rpc error: code = InvalidArgument desc = Incorrect table definition; there can be only one auto column and it must be defined as a key (errno 1075) (sqlstate 42000) (CallerID: j49qs0uvtghviros3kfg): Sql: "alter table drizzle-test_post drop primary key", BindVars: {REDACTED} I'm new to drizzle. Any help on this?
4 replies