(self)
| 39 | ) |
| 40 | |
| 41 | def test_other_options(self): |
| 42 | t = Table( |
| 43 | "t", |
| 44 | MetaData(), |
| 45 | Column( |
| 46 | "y", Integer, Computed("x + 2"), nullable=False, unique=True |
| 47 | ), |
| 48 | ) |
| 49 | self.assert_compile( |
| 50 | CreateTable(t), |
| 51 | "CREATE TABLE t (" |
| 52 | "y INTEGER GENERATED ALWAYS AS (x + 2) NOT NULL, UNIQUE (y))", |
| 53 | ) |
| 54 | |
| 55 | def test_server_default_onupdate(self): |
| 56 | text = ( |
nothing calls this directly
no test coverage detected