(&self)
| 45 | impl ColumnTrait for Column { |
| 46 | type EntityName = Entity; |
| 47 | fn def(&self) -> ColumnDef { |
| 48 | match self { |
| 49 | Self::Id => ColumnType::Integer.def(), |
| 50 | Self::Integers => ColumnType::Array(RcOrArc::new(ColumnType::Integer)).def(), |
| 51 | Self::IntegersOpt => ColumnType::Array(RcOrArc::new(ColumnType::Integer)) |
| 52 | .def() |
| 53 | .null(), |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | impl RelationTrait for Relation { |