I tried the Diesel example for MySQL. Made a schema exactly like in the example.
mod schema {
table! {
users (id) {
id -> Integer,
username -> VarChar,
email -> VarChar,
password -> VarChar,
birthdate -> Timestamp
}
}
}
Error:
Invalid table!
syntax. Please see the table!
macro docs for more info.
What's wrong here?