(&self)
| 44 | impl ColumnTrait for Column { |
| 45 | type EntityName = Entity; |
| 46 | fn def(&self) -> ColumnDef { |
| 47 | match self { |
| 48 | Self::Id => ColumnType::Integer.def(), |
| 49 | Self::Name => ColumnType::Text.def().null(), |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | impl RelationTrait for Relation { |