Skip to content
New issue

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

Provide default index names for SQLite #45

Closed
wants to merge 1 commit into from

Conversation

andrewgregory
Copy link
Contributor

The allegedly default names were never used causing the first index
created without a name to fail and subsequent indices to be named 02,
03, 04... This uses the table name with '_idx' appended as the default,
similar to the PostgreSQL producer.

@dbsrgits-sync
Copy link

Thanks for the patch, it looks good. Could you please add a test case as
well, e.g. to t/56-sqlite-producer.t?

The allegedly default names were never used causing the first index
created without a name to fail and subsequent indices to be named 02,
03, 04...  This uses the table name with '_idx' appended as the default,
similar to the PostgreSQL producer.
@andrewgregory
Copy link
Contributor Author

Updated with test case.

@ilmari
Copy link
Member

ilmari commented Dec 14, 2014

Thanks for the patch and tests. I've manually merged it as 2491a46.

@ilmari ilmari closed this Dec 14, 2014
@andrewgregory andrewgregory deleted the sqlite-index branch December 14, 2014 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants