Created
July 24, 2016 20:40
-
-
Save Oipo/2ee8123b82707932bfd726278572c1ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/main.rs:1:1: 1:1 error: type name `Citext` is undefined or not in scope [E0412] | |
src/main.rs:1 #![feature(custom_derive, custom_attribute, plugin)] | |
^ | |
<diesel macros>:5:1: 5:71 note: in this expansion of table_body! (defined in <diesel macros>) | |
src/database/schema.rs:1:1: 1:40 note: in this expansion of table! (defined in <diesel macros>) | |
src/database/schema.rs:1:1: 1:40 note: in this expansion of infer_schema! (defined in src/main.rs) | |
src/main.rs:1:1: 1:1 help: run `rustc --explain E0412` to see a detailed explanation | |
src/main.rs:1:1: 1:1 help: no candidates by the name of `Citext` found in your project; maybe you misspelled the name or forgot to import an external crate? | |
src/main.rs:1:1: 1:1 error: type name `Citext` is undefined or not in scope [E0412] | |
src/main.rs:1 #![feature(custom_derive, custom_attribute, plugin)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE users ( | |
id SERIAL PRIMARY KEY, | |
name VARCHAR NOT NULL, | |
password CHAR(60) NOT NULL, | |
email CITEXT NOT NULL, | |
verified BOOLEAN NOT NULL DEFAULT 'f' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment