]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commit
✨ Allow setting `unique` in `Field()` for a column (#83)
authorRaphael Gibson <42935757+raphaelgibson@users.noreply.github.com>
Sat, 27 Aug 2022 23:49:29 +0000 (20:49 -0300)
committerGitHub <noreply@github.com>
Sat, 27 Aug 2022 23:49:29 +0000 (01:49 +0200)
commit42b0e6eace676a0e7ee5eb42bf20206b5fc90219
tree2da7a3fdb0912709946f13839989a6b1c5825e57
parent1ca288028cb7da598d162bcf914d5183cd8f2aed
✨ Allow setting `unique` in `Field()` for a column (#83)

Co-authored-by: Raphael Gibson <raphael.araujo@estantemagica.com.br>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
sqlmodel/main.py
tests/test_main.py [new file with mode: 0644]