Fix table creation, missing column
-
I noticed that you added a new column, called experience. But you forgot to update the table creation hook, to create this column when enabling the plugin.
I had to add manually the column in mysql in order to make submissions work.
resume-upload-form/index.php
user_resume_create method$sql = "CREATE TABLE $table_user_info ( id int(11) NOT NULL AUTO_INCREMENT, user_id int(11), name varchar(255), email varchar(255), phone varchar(100), experience int(3) UNSIGNED, resume_path varchar(255), comments text, UNIQUE KEY id (id) );";
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Fix table creation, missing column’ is closed to new replies.