| 7388 | ) |
| 7389 | |
| 7390 | def get_column_specification( |
| 7391 | self, column: Column[Any], **kwargs: Any |
| 7392 | ) -> str: |
| 7393 | colspec = ( |
| 7394 | self.preparer.format_column(column) |
| 7395 | + " " |
| 7396 | + self.dialect.type_compiler_instance.process( |
| 7397 | column.type, type_expression=column |
| 7398 | ) |
| 7399 | ) |
| 7400 | default = self.get_column_default_string(column) |
| 7401 | if default is not None: |
| 7402 | colspec += " DEFAULT " + default |
| 7403 | |
| 7404 | if column.computed is not None: |
| 7405 | colspec += " " + self.process(column.computed) |
| 7406 | |
| 7407 | if ( |
| 7408 | column.identity is not None |
| 7409 | and self.dialect.supports_identity_columns |
| 7410 | ): |
| 7411 | colspec += " " + self.process(column.identity) |
| 7412 | |
| 7413 | if not column.nullable and ( |
| 7414 | not column.identity or not self.dialect.supports_identity_columns |
| 7415 | ): |
| 7416 | colspec += " NOT NULL" |
| 7417 | return colspec |
| 7418 | |
| 7419 | def create_table_suffix(self, table: Table) -> str: |
| 7420 | return "" |