Skip to content

Instantly share code, notes, and snippets.

@neaf
Created March 15, 2009 17:42
Show Gist options
  • Save neaf/79489 to your computer and use it in GitHub Desktop.
Save neaf/79489 to your computer and use it in GitHub Desktop.
~ CREATE TABLE `users` (`id` integer PRIMARY KEY AUTO_INCREMENT, `email` string UNIQUE NOT NULL, `username` string UNIQUE NOT NULL, `crypted_password` string(41) NOT NULL, `salt` string(41) NOT NULL, `created_at` datetime, `name` string)
~ ROLLBACK
rake aborted!
Mysql::Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'string UNIQUE NOT NULL, `username` string UNIQUE NOT NULL, `crypted_password` st' at line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment