🐛 Fix setting nullable property of Fields that don't accept None (#79)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Evangelos Anagnostopoulos
2022-08-28 01:18:57 +03:00
committed by GitHub
parent 2407ecd2bf
commit 9830ee0d89
2 changed files with 13 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ def test_create_db_and_table(cov_tmp_path: Path):
assert "BEGIN" in result.stdout
assert 'PRAGMA main.table_info("hero")' in result.stdout
assert "CREATE TABLE hero (" in result.stdout
assert "id INTEGER," in result.stdout
assert "id INTEGER NOT NULL," in result.stdout
assert "name VARCHAR NOT NULL," in result.stdout
assert "secret_name VARCHAR NOT NULL," in result.stdout
assert "age INTEGER," in result.stdout