(&self)
| 49 | impl ColumnTrait for Column { |
| 50 | type EntityName = Entity; |
| 51 | fn def(&self) -> ColumnDef { |
| 52 | match self { |
| 53 | Self::Id => ColumnType::Integer.def(), |
| 54 | Self::ParentId1 => ColumnType::Integer.def(), |
| 55 | Self::ParentId2 => ColumnType::Integer.def(), |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | impl RelationTrait for Relation { |