jeffc
jeffc
DTDrizzle Team
Created by jeffc on 11/15/2024 in #help
Possible bug?
I think it might be related to snake_case export const db = drizzle(process.env.DATABASE_URL, { casing: 'snake_case', logger: true });
2 replies
DTDrizzle Team
Created by Ravi on 7/13/2023 in #help
How can I add a Prefix Index?
[✓] Your SQL migration file ➜ src/drizzle/0004_sticky_doctor_strange.sql 🚀
reading ./src/drizzle/meta/_journal.json
89 | this.connection.release();
90 | }
91 |
92 | query(query, params) {
93 | const c = this.connection;
94 | const localErr = new Error();
^
error: Specified key was too long; max key length is 3072 bytes
code: "ER_TOO_LONG_KEY"
[✓] Your SQL migration file ➜ src/drizzle/0004_sticky_doctor_strange.sql 🚀
reading ./src/drizzle/meta/_journal.json
89 | this.connection.release();
90 | }
91 |
92 | query(query, params) {
93 | const c = this.connection;
94 | const localErr = new Error();
^
error: Specified key was too long; max key length is 3072 bytes
code: "ER_TOO_LONG_KEY"
6 replies
DTDrizzle Team
Created by Ravi on 7/13/2023 in #help
How can I add a Prefix Index?
Has support for prefix indexes been added yet? I'm encountering an issue that requires a prefix index to be defined
6 replies