We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently following the instructions to use this library with drizzle.
the schema example is:
import { sqliteTable, int, text } from 'drizzle-orm/sqlite-core'; export const groceries = sqliteTable('groceries', { id: int('id').primaryKey({ autoIncrement: true }), name: text('name').notNull(), });
But in the latest version of drizzle this gives you a deprecated warning. The new way to do this would be:
export const groceries = sqliteTable( 'groceries', { id: int().primaryKey({ autoIncrement: true }), name: text().notNull() }, () => [] );
Thanks for writing this library it looks cool!
The text was updated successfully, but these errors were encountered:
Thanks for the heads-up. Would you mind opening a pull request with these changes?
Sorry, something went wrong.
No branches or pull requests
Currently following the instructions to use this library with drizzle.
the schema example is:
But in the latest version of drizzle this gives you a deprecated warning. The new way to do this would be:
Thanks for writing this library it looks cool!
The text was updated successfully, but these errors were encountered: