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
similar to short-hand column syntax but for indexes
mySqlTable( "table", { id: int().primaryKey().autoincrement(), fooBar: int(), }, (table) => ({ fooIndex: index().on(table.fooBar) // <-- index name optional }) )
would yield (with snake_case config)
create table `table` ( `id` int not null auto_increment primary key, `foo_bar` int, key foo_index(`foo_bar`) );
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe what you want
similar to short-hand column syntax but for indexes
would yield (with snake_case config)
The text was updated successfully, but these errors were encountered: