Skip to content

Instantly share code, notes, and snippets.

@codedmart

codedmart/error Secret

Last active Apr 7, 2021
Embed
What would you like to do?
error[E0412]: cannot find type `Citext` in this scope
--> src/schema.rs:24:18
|
24 | email -> Citext,
| ^^^^^^ not found in this scope
|
= note: consider importing this struct:
crate::db::sql_types::Citext
table! {
email_confirmations (token) {
token -> Varchar,
email -> Citext,
user_id -> Uuid,
organization_id -> Uuid,
confirmed_at -> Nullable<Timestamptz>,
created_at -> Timestamptz,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment