()
| 89 | |
| 90 | @pytest.fixture |
| 91 | def boolean_column() -> Column: |
| 92 | return Column( |
| 93 | name='enabled', |
| 94 | type='boolean', |
| 95 | pk=False, |
| 96 | autoinc=False, |
| 97 | unique=False, |
| 98 | not_null=True, |
| 99 | default=False, |
| 100 | comment='This is a defaulted boolean column', |
| 101 | note=Note('This is a note for the column'), |
| 102 | properties={'foo': 'bar', 'baz': "qux\nqux"} |
| 103 | ) |
| 104 | |
| 105 | |
| 106 | @pytest.fixture |