Repository navigation
"Index" checkbox on advanced field creation UI #402
Replies: 4 comments 7 replies
|
Sorry, don't know are you open to new features or just maintain the classy old d9 to use in your projects. |
|
Hello @slyk, I would maybe give composite indexes a higher priority, as they quickly become important in a production database. As a result, perhaps a dedicated section below the list of fields in a collection would be a better place to manage indexes, rather than limiting this to a checkbox on individual fields. Also, in the meantime, if you're using PostgreSQL, you might find our projen-templates useful. It allows you to save a SQL version of your schema and modify it directly. You can find an example of a generated schema here along with the available CLI commands for the plumbing tool here |
|
@louisdussarps I have added one column But the idea of full-fledged editor of all indexes in collection admin its way better solution, but takes more time and testing :) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Indexes allow DB work faster. I've implemented it.
Basic Example
No response
Motivation
Seems logical for some simple but bulk data rows to be able to add index fast on field creation. And also see the indexes that are exists. Start from simple checkbox like we have for
uniquewould be ok.Detailed Design
Requirements List
Must have
Should have
Could have
Won’t have (this version)
Drawbacks
One column index not helps in many cases and still need edit DB or have more complex feature editor.
Alternatives
Open some DB editor, analyze the requests and make a real valuable indexes.
Adoption Strategy
The "Indexed" flag is taken from DB (Knex naming)
Unresolved Questions
No response
All reactions