diff --git a/src/meta/model/migration/src/lib.rs b/src/meta/model/migration/src/lib.rs index 1e97b4fa6a066..baa56105edcfe 100644 --- a/src/meta/model/migration/src/lib.rs +++ b/src/meta/model/migration/src/lib.rs @@ -62,11 +62,12 @@ macro_rules! drop_tables { }; } -/// We want to use the largest blob type across MySQL and Postgres, so we use this instead. +/// We want to use the largest blob type across MySQL, Postgres and Sqlite, so we use this instead. pub(crate) fn create_blob32_column(name: T, is_mysql: bool) -> ColumnDef { if is_mysql { ColumnDef::new_with_type(name, ColumnType::Custom(MySqlType::LongBlob.into_iden())) } else { + // Both sqlite and postgres can just use blob. ColumnDef::new_with_type(name, ColumnType::Blob) } }