There was an error while loading. Please reload this page.
Instead of REPLACE INTO use
REPLACE INTO
INSERT INTO t1 (a,b,c) VALUES (1,2,3) ON DUPLICATE KEY UPDATE a=VALUES(a), b=VALUES(b), c=VALUES(c);
REPLACE INTO causes problems when using Triggers or Foreign key constraints because it triggers the delete event.
this_is_column_of_multiple_words
user_id
resource_id
id
TIMESTAMP
created_at
updated_at
date_of_birth
DEFAULT CURRENT_TIMESTAMP
ON UPDATE CURRENT_TIMESTAMP