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