Mohammed Anas
Mohammed Anas
Explore posts from servers
TtRPC
Created by Mohammed Anas on 1/9/2024 in #❓-help
client side Validation with ZOD
so the zod schema is only utilized on the server?
12 replies
DTDrizzle Team
Created by Mohammed Anas on 8/9/2023 in #help
Error with drizzle-kit generate:pg
Update your tsconfig
7 replies
TtRPC
Created by Mohammed Anas on 11/18/2023 in #❓-help
How does trpc typing work
will give that a try .
8 replies
TtRPC
Created by Mohammed Anas on 11/18/2023 in #❓-help
How does trpc typing work
Later on whenever i try to invoke a method similar to mutate , i need the typing of the input to be in available in the parameter of the mutate method .
8 replies
TtRPC
Created by Mohammed Anas on 11/18/2023 in #❓-help
How does trpc typing work
My approach might be wrong, i'm trying to build something similar . Any help is appreciated
8 replies
DTDrizzle Team
Created by Mohammed Anas on 9/28/2023 in #help
Drizzle kit schema migration with mysql ; Rerunning the entire schema
My drizzle config
import type { Config } from "drizzle-kit";
import dotenv from "dotenv";
dotenv.config({path:'.env.local'});
export default {
schema: "./db/schema.ts",
out: "./db/migrations/",
dbCredentials: {
connectionString: process.env["DATABASE_URL"]!,
},
driver: "mysql2",
strict: true,
} satisfies Config;
import type { Config } from "drizzle-kit";
import dotenv from "dotenv";
dotenv.config({path:'.env.local'});
export default {
schema: "./db/schema.ts",
out: "./db/migrations/",
dbCredentials: {
connectionString: process.env["DATABASE_URL"]!,
},
driver: "mysql2",
strict: true,
} satisfies Config;
3 replies
DTDrizzle Team
Created by Mohammed Anas on 9/28/2023 in #help
Drizzle kit schema migration with mysql ; Rerunning the entire schema
Only happens after the first migration , here is my schema for reference .
3 replies
DTDrizzle Team
Created by beneidel on 8/19/2023 in #help
only first db migration runs
17 replies
DTDrizzle Team
Created by beneidel on 8/19/2023 in #help
only first db migration runs
i've nt tried it but might work for you
17 replies
DTDrizzle Team
Created by beneidel on 8/19/2023 in #help
only first db migration runs
.
17 replies
DTDrizzle Team
Created by beneidel on 8/19/2023 in #help
only first db migration runs
one suggested to drop your drizzle version
17 replies
DTDrizzle Team
Created by beneidel on 8/19/2023 in #help
only first db migration runs
for dev i used to run my migrations manually on RDS sst console
17 replies
DTDrizzle Team
Created by beneidel on 8/19/2023 in #help
only first db migration runs
17 replies
DTDrizzle Team
Created by beneidel on 8/19/2023 in #help
only first db migration runs
it is a known bug
17 replies
DTDrizzle Team
Created by Suleman on 8/23/2023 in #help
I am getting typescript error when creating schema
if still get intellisense error,try reopening your text editor.
17 replies
DTDrizzle Team
Created by Suleman on 8/23/2023 in #help
I am getting typescript error when creating schema
this fixed it
17 replies
DTDrizzle Team
Created by Suleman on 8/23/2023 in #help
I am getting typescript error when creating schema
had the same issue
17 replies
DTDrizzle Team
Created by Suleman on 8/23/2023 in #help
I am getting typescript error when creating schema
in package.json
17 replies
DTDrizzle Team
Created by Suleman on 8/23/2023 in #help
I am getting typescript error when creating schema
if you use pnpm change ^0.28.2 -> 0.28.2
17 replies
DTDrizzle Team
Created by Suleman on 8/23/2023 in #help
I am getting typescript error when creating schema
probably pnpm cache
17 replies