-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ability to add column indexes #27
Comments
This is quite an advanced feature. Should it support compound indexes? I think so, but the UI for those is tricky. |
Presumably it should prevent people from creating the same index multiple times - or does SQLite already either prevent that or quietly just create a single index? |
I'm going to allow adding indexes on single columns, with an option to make them unique. I'll add drop index too. |
I'm seeing these two indexes on a table that I ran this against: CREATE INDEX o_order_date ON Orders (order_date); [
Index(seq=0, name='o_order_date', unique=0, origin='c', partial=0, columns=['order_date']),
Index(seq=1, name='sqlite_autoindex_Orders_1', unique=1, origin='pk', partial=0, columns=['id'])
] I probably shouldn't let people drop those |
No description provided.
The text was updated successfully, but these errors were encountered: