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
Hello there,
Create a unique index:
knex.schema.table('my_table', function (table) { table.unique([ 'column_1', 'column_2' ]); });
Gives you unique index named my_table_column_1_column_2_unique
my_table_column_1_column_2_unique
Drop a unique index:
knex.schema.table('my_table', function (table) { table.dropUnique(['column_1', 'column_2']); });
Tries to use unique index named my_table_column_1_column_2_dropunique (pay attention at drop word which should not be there).
my_table_column_1_column_2_dropunique
drop
The text was updated successfully, but these errors were encountered:
@tgriesser ping! ;)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hello there,
Create a unique index:
Gives you unique index named
my_table_column_1_column_2_unique
Drop a unique index:
Tries to use unique index named
my_table_column_1_column_2_dropunique
(pay attention atdrop
word which should not be there).The text was updated successfully, but these errors were encountered: