Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. CREATE TABLE user_prefs(
  2. user_id INT,
  3. type VARCHAR(60),
  4. value VARCHAR(255),
  5. PRIMARY KEY (user_id, type)
  6. ) engine = ndb partition by key (user_id);