Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE wp_post_ispremium(
- id INT NOT NULL AUTO_INCREMENT,
- post_id BIGINT(20) NOT NULL,
- ispremium BOOLEAN NOT NULL DEFAULT 1,
- PRIMARY KEY(id),
- FOREIGN KEY(post_id) REFERENCES wp_posts(id)
- ) ENGINE = InnoDB DEFAULT CHARSET = utf8;
- ERROR 1215 (HY000): Cannot add foreign key constraint
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement