You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let tpe_is_varchar = tpe.to_lowercase() == "varchar";
15
+
16
+
// Postgres doesn't coerce varchar[] to text[] so print out a message to inform
17
+
// the user.
18
+
if tpe_is_varchar && is_array {
19
+
writeln!(&mut stderr(),"The column `{}` is of type `varchar[]`. This will cause problems when using Diesel. You should consider changing the column type to `text[]`.", attr.column_name)?;
0 commit comments