This commit is contained in:
Billy Chan 2021-08-31 22:31:58 +08:00
parent 5a0f1d0fd1
commit bdf6593dfe
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -56,7 +56,7 @@ impl ColumnTrait for Column {
Self::Price => ColumnType::Decimal(Some((19, 4))).def(),
Self::BakeryId => ColumnType::Integer.def().null(),
Self::GlutenFree => ColumnType::Boolean.def(),
Self::Serial => ColumnType::Binary(Some(16)).def(),
Self::Serial => ColumnType::Uuid.def(),
}
}
}