| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The code was setting an index on every field by default.
This meant that a simple model like:
```python
class Foo(SQLModel, table=True):
a: str
b: int
c: str
```
Would have indices for all fields. This is wrong, the default should be to not create an index.
|
There's already an open PR that fixes this #11 |
Sorry, something went wrong.
|
Duplicate. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The code was setting an index on every field by default.
This meant that a simple model like:
Would have indices for all fields. This is wrong, the default should be to not create an index.