sqlmodel icon indicating copy to clipboard operation
sqlmodel copied to clipboard

SQL databases in Python, designed for simplicity, compatibility, and robustness.

Results 350 sqlmodel issues
Sort by recently updated
recently updated
newest added

### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....

question

`id: Optional[int] = Field(default=None, sa_column=mapped_column('id', Integer, primary_key=True))` #573

~~…to let the user define additional `sqlalchemy.orm.ForeignKey` attributes, such as `ondelete` and `onupdate`, for foreign keys defined in a base model.~~ **UPD YuriiMotov:** Currently we can specify `foreign_key` as an...

feature

### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....

question

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start)...

dependencies
python

### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....

question
investigate

### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....

question

Currently, when `max_length` is specified in a `Field`, it has no real effect on the corresponding SQL schema (#126, #746). As pointed out by @chris-beedie, this is because the configured...

feature

### Privileged issue - [X] I'm @tiangolo or he asked me directly to create an issue here. ### Issue Content In md file `\sqlmodel\docs\tutorial\create-db-and-table.md`, line 485, there is a internal...