Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 27345

ERROR: Upgrade failed: DB: SQLSTATE[22004]: Null value not allowed: 1138 Invalid use of NULL value (SQL: ALTER TABLE email_log CHANGE assoc_type assoc_type BIGINT NOT NULL, CHANGE assoc_id assoc_id BIGINT NOT NULL)

$
0
0

while trying to upgrade from ojs-3.2.1-5 to ojs-3.3.0-19 i have encountered following error

ERROR: Upgrade failed: DB: SQLSTATE[22004]: Null value not allowed: 1138 Invalid use of NULL value (SQL: ALTER TABLE email_log CHANGE assoc_type assoc_type BIGINT NOT NULL, CHANGE assoc_id assoc_id BIGINT NOT NULL)

is it safe to delete ?
DELETE FROM email_log WHERE assoc_id IS NULL;

or

any other suggestions?

@asmecher please help

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 27345

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>