Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1171 All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead: CREATE TABLE {security_questions_answers} ( `uid` INT DEFAULT NULL COMMENT 'The user ID.', `sqid` INT DEFAULT NULL COMMENT 'The security question ID', `answer` VARCHAR(100) DEFAULT NULL COMMENT 'The answer to the users question', PRIMARY KEY (`uid`, `sqid`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Contains users security question answers.'; Array ( ) in db_create_table() (line 582 of /var/www/html/drupal/core/includes/database.inc).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement