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

[Database] 2018_08_08_100000_create_telescope_entries_table.php throws error while creating #295

Closed
DeRaja opened this issue Jan 8, 2023 · 2 comments

Comments

@DeRaja
Copy link

DeRaja commented Jan 8, 2023

Following file throws error:

2018_08_08_100000_create_telescope_entries_table.php

There is an index getting generated from $table->index(['type', 'should_display_on_index']); This is too long for the database engine because the prefix (if used) and the network prefix (if used) plus two underscore makes it too long. Following is the end result:

network_site1_telescope_entries_type_should_display_on_index_index

Thus, one has to shorten it in the index value to something like disp_on_idx.

@juzaweb
Copy link
Owner

juzaweb commented Jan 9, 2023

Thanks for the report. We will fix it soon

@DeRaja
Copy link
Author

DeRaja commented Jan 10, 2023

Hello!

And there are couple of other tables too. The best is to use abreviated index names because the prefix plus sitex names with two underscrores will always be creating such a danger.

@juzaweb juzaweb closed this as completed Jun 10, 2023
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

No branches or pull requests

2 participants