Whats wrong with my query?
ALTER TABLE test_posts ADD sticky boolean NOT NULL default = false
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=false' at line 2
You need to remove the =
:
ALTER TABLE test_posts ADD sticky boolean NOT NULL default false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With